HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2016 > problem:


7-4. 50948 - Translate Score into Grade

Epoka Science Olympiad 2016

Start: Apr.11.2016 at 02:07:57 PM
Finish: Apr.24.2016 at 05:00:00 AM
The contest is finished!
• Contest scoreboard

Contest problems

• 6-5. 50943 - Word Game
• 6-P1. 50881 - Exchange the Values
• 6-P3. 50883 - Win or Lose
• 6-P4. 50884 - Area and Perimeter Of...
• 6-P5. 50885 - Calculate the Average
• 7-1. 50945 - Bigger or Smaller
• 7-2. 50946 - Area of Rectangle
• 7-3. 50947 - Calculate the Average
• 7-4. 50948 - Translate Score int...
• 7-5. 50949 - Vowel or Consonant
• 7-P1. 50886 - Even or Odd
• 7-P2. 50887 - Average of Test Scores
• 7-P3. 50888 - Extracting Digits
• 7-P4. 50889 - Convert to Minutes an...
• 8-1. 50950 - Biggest Number
• 8-2. 50951 - Odd Numbers
• 8-3. 50952 - Print All Numbers from...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.

Translate Score into Grade

Write a program, which asks for a student score. Score is a number from 0-100. Translate the score into grade according to the next limits:
score >= 90 is "A"
score >= 80 is "B"
score >= 70 is "C"
score >= 60 is "D"
anything else is "F"

if the score is 100 print "Perfect score!”

Input: A positive integer number.

Output: The letter grade or the message "Perfect score!” for 100 points;

Sample Input1:

Sample Input2:

Sample Input3:

85

30

100

Sample  Output1:

Sample  Output2:

Sample  Output3:

B

F

Perfect score!

 

Äëÿ îòïðàâêè ðåøåíèé íåîáõîäèìî âûïîëíèòü âõîä.

www.contester.ru