no matter whatever number I enter , it just show ACode:/* simply exercise */ #include <stdio.h> /* function main begins program execution */ int main() { int grade /* declare */ printf( "Enter your grade: " ); scanf( "%d", &grade ); if ( grade >= 90 ) printf( "A\n" ); else if ( grade >= 80 ) printf( "B\n" ); else if ( grade >= 70 ) printf( "C\n" ); else printf( "D\n"); return 0; /* end program successfully */ } /* end function main */
plz let me know what's the problem .
Thanks
Edit : prolem solved , thanks