Problem1542--C Programming Practicals 3 logical if else-3

1542: C Programming Practicals 3 logical if else-3

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 452  Solved: 234
[Submit] [Status] [Web Board] [Creator:]

Description

Write a C program that reads an integer and check the specified range where it belongs. Print an error message if the number is negative and greater than 100. Specified range: [0, 9], [10, 39], [40, 49], [50, 59], [60, 69], [70,100].

Input

Input an integer: 103

Output

It is a wrong mark

Sample Input Copy

3

Sample Output Copy

Range [0, 9]

Source/Category

112