C - onditional Statements
Consider this code:
What will be the output and why?
#include <stdio.h>
int main() {
int score = 75;
if (score >= 90) {
printf("Grade A\n");
} else if (score >= 75) {
printf("Grade B\n");
} else {
printf("Grade C\n");
}
return 0;
}What will be the output and why?
