HELP!! Syntax errors
I am trying to compile a simple program and I know there are a bunch of syntax errors.
The program is designed to output to the used which of the first four prime numbers the number they input is divisible by. Here is the code:
I get errors about args and pointers. I'm new to this and I don't really know what it means. Can someone help?
printf("Please enter your number:);
printf("\n\nOf the first prime numbers, your number is divisible by:");
In C all keywords are lower-case, so replace "If" with "if". You are also massively low on semicolons. Add one after each of the printf("<number>")
Oh, and you want to do scanf("%d", &num)