Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1543--C Programming Practicals 3 logical if else-2
1543: C Programming Practicals 3 logical if else-2
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
602
Solved:
284
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
A mark greater than 100 or less than 0 is impossible, so add a test that checks for this condition to last question 1.
Input
Enter the mark 101
Output
It is a wrong mark
Sample Input
Copy
60
Sample Output
Copy
The mark is 60, it is 2:1 class
Source/Category
111