Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

LAB 35 Student Generated Code Assignments OptionI Write a program that will read in 3 grades from the keyboard and will print the average (to

image text in transcribed
image text in transcribed
LAB 35 Student Generated Code Assignments OptionI Write a program that will read in 3 grades from the keyboard and will print the average (to 2 decimal places) of those grades to the screen. It should include good prompts and labeled output. Notice in the sample run that the answer is stored in fixed point notation with two decimal points of precision. Sample run Sample run Please input the first grade 97 Please input the second grade 98.3 Please input the third grade 95 The average of the three grades s 96.77 Option 2: The Woody furniture company sells the following three styles of chairs: Style Price Per Chair American Colonial $ 85.00 Modern S 57.50 French Classical $127.75 Write a program that will input the amount of chairs sold for each style. It will print the total dollar sales of each style as well as the total sales of all chairs in fixed point notation with two decimal places Sample run Sample run Please input the number of American Colonial chairs sold 20 Please input the number of Modern chairs sold 15 Please input the number of French Classical chairs sold

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

2.1 Identify a key purpose for every document you create

Answered: 1 week ago