Question: 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
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
Get step-by-step solutions from verified subject matter experts
