[Solved] Simple counting program issue


You need to #include <stdio.h> to fix the problem with printf() and scanf(). You have #include <stdlib.h> twice.

Also, you should change:

void testCount ();

to:

void testCount (int x);

as suggested by @ Keine Lust. And please don’t forget to pass a value to your newly minted testCount() function!

3

solved Simple counting program issue