Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Course Hero X Ina Week 3 Lab Assignment X *[Solved] Write in your words essa X + V X Irocd.instructure.com/courses/192284/assignments/4829635?return_to=https%3A%2F%2FIrcod.instructure.com%2Fcalendar%23view_name%3Dmonth%26vie... Q 2 * ... Dashboard

image text in transcribedimage text in transcribedimage text in transcribed
Course Hero X Ina Week 3 Lab Assignment X *[Solved] Write in your words essa X + V X Irocd.instructure.com/courses/192284/assignments/4829635?return_to=https%3A%2F%2FIrcod.instructure.com%2Fcalendar%23view_name%3Dmonth%26vie... Q 2 * ... Dashboard a, Amazon.com Thank.. of 16 ZOOM LAB 3.5 Student Generated Code Assignments Option 1: 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. Use the examples from the earlier labs to help you. You will want to begin with a design. The Lesson Set 1 Pre-lab Reading Assignment gave an introduction for a design similar to this problem Notice in the sample run that the answer is stored in fixed point notation with two decimal points of precision. 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 is 96.77 Option 2: The Woody fumiture company sells the following three styles of chairs: Style Price Per Chair American Colonial $ 85.00 Modern $ 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: 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 5Page 3 > of 16 ZOOM 40 LESSON SET 3 Expressions, Input, Output and Data Type Conversions The total sales of American Colonial chairs $1700.00 The total sales of Modern chairs $862.50 The total sales of French Classical chairs $638.75 The total sales of all chairs $3201.25 Option 3: Write a program that will input total sales (sales plus tax) that a business generates for a particular month. The program will also input the state and local sales tax percentage. It will output the total sales plus the state tax and local tax to be paid The output should be in fixed notation with 2 decimal places. Sample run: Please input the total sales for the month 1080 Please input the state tax percentage in decimal form (.02 for 2%) .C6 Please input the local tax percentage in decimal form (.02 for 2%) . C2 The total sales for the month is $1080.00 The state tax for the month is $64.80 The local tax for the month is $21.60

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_2

Step: 3

blur-text-image_3

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions