- 1
Pls I need help on the if statement I don't know how to input multiple statement
4 Answers
+ 2
the error was because of the way you initialised grade_point.
here:
#include <stdio.h>
int main() {
int test_score= 69;
int grade_point = 100;
if(test_score > grade_point){
printf("Excellent.");
}else{
printf("Average");
}
return 0;
}
+ 1
Thanks a lot
+ 1
Hello,
I have made some changes to your code. You can refer to it on the following link.
https://code.sololearn.com/cRAD7Q9E73Al/#c
+ 1
Thanks