Question: Write a script using 'if - elseif' to assign different grades based on the conditions below: 90

Write a script using 'if - elseif' to assign different grades based on the conditions below: 90 <= score <= 100 A 80 <= score < 90 B 70 <= score < 80 C 60 <= score < 70 D score < 60 F student submitted image, transcription available below

Write a script using 'if-elseif' to assign different grades based on the conditions below: 90 <= score <= 100 - A 80 <= score < 90 - B 70 <= score < 80 - C 60 <= score < 70-D score < 60 - F SAMPLE OUTPUT 1 Enter a score: -2 -2.00 = Out of range SAMPLE OUTPUT 2 Enter a score: 101 101.00 = Out of range SAMPLE OUTPUT 3 Enter a score: 89.9 89.90 = B SAMPLE OUTPUT 4 Enter a score: 59 59.00 = F

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!