I am writing this program as an assignment but I don't know what is wrong. I have to use gets() and getchar() to take the users name and 2 (x,y) and print on the screen each number between the values of of x and y. This is what I have so far but it has several errors.
char name ;
/*Get users name*/
/*Get values for x and y from user*/
/*Loop through numbers and print*/
getchar(): /*wait for key stroke to exit*/