im trying to run this lotery game and it says decleration terminated incorrectly what changes to i have to make for program to run.. please and thank you..
Code:#include <stdio.h> #include <stdlib.h> 10+rand()%90 int main() { input-input%10)/10 if(input==random number) { printf("You have won $10000\n"); break; } else { if (input%10==random number || ((input-input%10)/10)==random number) { printf("You have won $1000\n"); break; } printf("You have won nothing\n"); } return 0; }