Question: Please type the answers 1. Write a program that prompts the user for the percentage earned on a test and then displays the corresponding letter

 Please type the answers 1. Write a program that prompts the
Please type the answers

1. Write a program that prompts the user for the percentage earned on a test and then displays the corresponding letter grade. Use the following grading scale 90-100 A 80-89 B 70-79 C 60-69 D Below 60 F The program should like similar to Enter the percentage: 80 The corresponding letter grade is: B 2. A wholesale egg company bases their prices on the number of eggs purchased: 0 up to but not including 4 dozen s0.50 per dozen 4 up to but not including 6 dozen $0.45 per dozen 6 up to but not including 11 dozen $0.40 per dozen 11 or more dozen Extra eggs are priced at 1/12 per dozen price. Write a program that prompts the user for the number of eggs, and then calculates the bill. The program should look similar to: Enter the number of eggs purchased: 18 The bill is equal to: $0.75 $0.35 per dozen

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!