Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server T-SQL Recipes

Authors: David Dye, Jason Brimhall

4th Edition

1484200616, 9781484200612

More Books

Students also viewed these Databases questions

Question

Discuss the Hawthorne experiments in detail

Answered: 1 week ago

Question

Explain the characteristics of a good system of control

Answered: 1 week ago

Question

State the importance of control

Answered: 1 week ago

Question

What are the functions of top management?

Answered: 1 week ago