0
What is the error on this code?
int main(void){ int num; printf("enter a number"); scanf("%d",&num); if(num<0); { printf("number is negative"); } else{ printf("number is positive"); } return 0; } https://code.sololearn.com/cHF6sB3C2fu1/?ref=app
2 ответов
0
Nadhil An
Semicolon is there after if statement which should not be
Also dont share others code.
0
Thanku bro