Monday, February 21, 2022

Complete the credits

 In Uttu's college, a semester is said to be a:

  • Overload semester if the number of credits taken >65.
  • Underload semester if the number of credits taken <35.
  • Normal semester otherwise

Given the number of credits X taken by Uttu, determine whether the semester is OverloadUnderload or Normal.

Input Format

  • The first line will contain T - the number of test cases. Then the test cases follow.
  • The first and only of each test case contains a single integer X - the number of credits taken by Uttu.

You may print each character of OverloadUnderload and Normal in uppercase or lowercase (for example, ovErLoAdoVERlOADOVERLOAD will be considered identical).

Output Format

For each test case, output OverloadUnderload or Normal depending upon the number of credits taken by Uttu.

Constraints

  • 1T100
  • 1X100

Sample Input 1 

4
65
80
23
58

Sample Output 1 

Normal
Overload
Underload
Normal

Explanation

Test case-1: The semester has 65 credits. So it is neither an Overload semester nor an Underload semester. So it is a Normal semester.

Test case-2: The semester has 80 credits (>65). So it is an Overload semester.

Test case-3: The semester has 23 credits (<35). So it is an Underload semester.

Test case-4: The semester has 58 credits. So it is neither an Overload semester nor an Underload semester. So it is a Normal semester.

No comments:

Post a Comment

मुझे दिल में बसाना आसान नहीं....

पता है Recently i realised की मुझे दिल में बसाना आसान नहीं है बात-बात पे चिढ़ जाती हूं मैं दिल लगा लूं एक बार तो फिर ज़िद पे अड़...