☑Kizspy.me
°
о
Do not change the names of the folders, files, and struct (format) of .c files specified in the
exam. If you change it, the grading software can not find the execute file (.exe) or the output
results to mark, thus the exam result will be 0
Do not edit given statements in the main function. If you change, the grading software may
not be able to mark and the exam result will be 0.
(2 marks)
2 of 3
Paper No: 1
The given file Q1.c already contains statements to input data for an integer named grade (0<= grade
<=100). You should write statements to rank based on grade according to the following rules:
If the grade is from 90 to 100 then print "A"
If the grade is from 80 to 89 then print "B"
If the grade is from 70 to 79 then print "C"
If the grade is from 60 to 69 then print "D"
If the grade is from 0 to 59 then print "E"
Zoom
+100%
Close