Question: It accepts a student's numerical grade A student's letter grade is calculated according to the following table. Create a new file, YourName _ SID _
It accepts a student's numerical grade A student's letter grade is calculated according to the following table.
Create a new file, YourNameSIDLabcpy and perform the following tasks:
It accepts a student's numerical grade in floating point number converts and assigns the
numerical grade to an equivalent letter grade using nestif and one else structure, and
displays the letter grade accordingly.
Also, you should print an error message if the input numeric grade is out of the normal range,
ie or
Remark: Before submission, please try different inputs ie grades in your testing see sample
outputs below
Sample program outputs:
CCIT Laboratory : Section
Please enter the numerical grade out of :
The Letter Grade is B
CCIT Laboratory : Section
Please enter the numerical grade out of :
The Letter Grade is A
CCIT Laboratory : Section
Please enter the numerical grade out of :
Error! Invalid input...
in floating point number
converts and assigns the
numerical grade to an equivalent letter grade using nest
if
and one else
structure and
displays the letter grade accordingly.
Also, you should print an error message if the input numeric grade is out of the normal range,
i
e
or
Remark: Before submission, please try different inputs
i
e
grades
in your testing
see sample
outputs below
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
