Simple counting program issue
<p>For some reason, my printf and scanf are undeclared apparently. I think it's something to do with my functions which I don't understand very well.</p>

<pre><code>#include&lt;stdlib.h&gt;
#include&lt;stdlib.h&gt;
#include&lt;ctype.h&gt;

void testCount ();

int eleven = 11;
int input = 0;
int output = 0;
int count = 0;

int main (){
    printf("What number would you like to count to?");
    scanf("%d", &amp;count);
    testCount();
    system("pause");
    return 0;
}

void testCount (int x){
    int y;
    for(y=1;y&lt;count;y++){
        if (x &lt; 10){ 
           x + 1;
        }
    }    
    output = input/eleven;
}
</code></pre>