Due to server problems the website is temporarily offline! Visit http://www.smorgasbordet.com/pellesc/ to download Pelles C.
Building main.obj.C:\Users\Ba\Documents\Pelles C Projects\T11\main.c(9): error #2001: Syntax error: expected '(' but found '!'.C:\Users\Ba\Documents\Pelles C Projects\T11\main.c(10): error #2001: Syntax error: expected ')' but found '{'.*** Error code: 1 ***Done.
#include<stdio.h> int main() { int mynumber; printf (" Please enter a number \n"); scanf("%d",&mynumber); if !(mynumber == 10 ) { printf("Is equal \n" ); printf("Closing program\n"); } else { printf("Not equal\n"); printf("Closing program\n"); } return 0; }