new to programming. everytime i try ti comppile this program i get an error message saying expected unqualified...
here is the code and the question that the code was made from
Write a program that uses a loop to print the numbers from 10 to 20.
int main();
int crt = 0;
while (ctr< 20)
printf("Counter is at %d.\n", ++ctr;
while (ctr > 10)
printf("Counter is at %d.\n", --ctr);
return 0;
and yes in the original code ther is squigal brackets in the nessesaricy places, for some reason the website wont let me post the code with the brackets.