ASSIGNMENT - 3 Honor Student
Honor Student
In a school, the students are divided into two categories based on their ranks. Students whose rank is less than 10 are considered as
HONOR STUDENT
and all others are considered as NORMAL STUDENT
. Based on the rank, find to which category a student belongs. Input
The first line of input is an integer.
Explanation
In the given example,
rank = 9
. As the rank is less than 10, the student is considered an honor student.
So the output should be HONOR STUDENT
.Sample Input 1Sample Output 1
1
HONOR STUDENT
Sample Input 2Sample Output 2
15
NORMAL STUDENT
Comments
Post a Comment