1014. write comments, 1014 write comments
1014. write comments (Standard IO) Time Limit: 1000 MS space limit: 262144 KB Specific Limit
Enter a score for a student based on the question description. If the score is greater than or equal to 90, "Excellent" is output. If the score is greater than or equal to 80 and less than 90, "Good" is output. If the score is greater than or equal to 60 and less than 80, the output is "Pass", the score is less than 60, and the output is "Fail ". Enter an integer score to indicate the score of the student. Output comments. Sample Input
65
Sample output
Pass
Data range: 0 <= score <= 100
1 # include <iostream> 2 # include <cmath> 3 # include <cstdio> 4 # include <algorithm> 5 using namespace std; 6 int main () 7 {8 int n; 9 cin> n; 10 if (n> = 90) 11 cout <"Excellent"; 12 else if (n> = 80 & n <90) 13 cout <"Good"; 14 else if (n> = 60 & n <80) 15 cout <"Pass"; 16 else cout <"Fail "; 17 return 0; 18}