Question: Instructions: Program and solve the following tasks in a script file; publish it as a PDF and submit it on Blackboard in the content section.

Instructions: Program and solve the following tasks in a script file; publish it as a PDF and submit it on Blackboard in the content section. Ensure that you put the proper header information (your name, course name, date, HW number, etc.) as shown in the class. Divide the script into sections for each task.
Task 1:
Write a program that accepts a numerical value x from 0 to 100 as input and computes and displays the corresponding letter grade given by the following table.
A x90
B 80x89
C 70x79
D 60x69
F x60
Use the ranges, i.e., starting and ending points for all grades. When assigning a letter grade, ensure that you use the single quotes for the letters like this: lettergrade =' A '. Test the program for numericalgrade =55. Hint below:Task 2:Randomize the sequence of your conditional branches of Task 1 and run the script. Comment "Yes/No" at the bottom of your script if the sequence of the branches affects the output or not i.e., if I put the condition for A at the bottom and the condition for D at the top, and the condition for C before B etc. Test the program for numericalgrade =87.
Task 3:
Solve Task 1 in sequential order (A, B, C...) but without the upper bounds of the numerical ranges, i.e., only utilize the conditions similar to "numericalgrade 70, numericalgrade 90", etc. Test the program for numericalgrade =63.
Task 4:
Randomize the sequence of your conditional branches of Task 3 and run the script. Comment "Yes/No" at the bottom of your script if the sequence of the branches affects the output or not. Test the program for numericalgrade =105.
Instructions: Program and solve the following

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 Programming Questions!