Question: The provided program will ask the user for his grade as an integer and report the letter grade according to the following conditions: 9 0
The provided program will ask the user for his grade as an integer and report the letter grade according to the following conditions:
or greater: A
to not inclusive: B
to not inclusive: C
to not inclusive: D
less than :
The program has bugs. Find and fix them.
Instructions:
There is no need to perform input validation on this program.
Repeated bugs of the same type are considered a single bug and not two or more different bugs.
Answer: penalty regime:
marks intinputEnter the student's marks
if marks :
grade
if marks :
grade B
if marks :
grade C
if marks :
grade D
printThe student received a grade of grade
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
