Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do 1 2 and 3 C++ ter Review-x -Review Submissiory D wK3 HomeworkA( Ga wnloadswK3%20HomeworkA%20(SP18).pdf WK3 HomeworkA X cury > STUDENTS Prograns 1, write a

image text in transcribedDo 1 2 and 3 C++
image text in transcribed
ter Review-x -Review Submissiory D wK3 HomeworkA( Ga wnloadswK3%20HomeworkA%20(SP18).pdf WK3 HomeworkA X cury > STUDENTS Prograns 1, write a progr that converts an input grade from 60 to 100 and outputs a converted grade from 0.0 to 4.0. a. Minimum input value is 60, maximum is 100 b. All whole numbers must display as decimals. (0 displays as 0.0 and 3 as 3.0) The solution requires that you create a simple mathematical expression that converts the input value into the output value. The program should appear as follows (input in bold italics): Grade Converter Input grade (60-100): 85 Converted grade (0.0 to 4.0): 2.5 Some example values are (70 1.0, 89 2.9, 63 0.3, 96 3.6). 2. Write a program that emulates a simple shopping cart. a. Calculate and display the subtotal, tax and total cost. b. Use a constant variable to set a fixed tax rate of 8.875. c. Use escape chazacters for column alignment. d. Display correct doilar values (2 decinal places, use cout precision). e. Align data using the ionanip 1ibzary column width commands. Outpat Exampie (input bold and italics): Shopping Cart Cost of first item $5.34 Cost of second item: $41.00 Cost of third item: $22.05 Subtotal: axi Total: 368.39 $6.07 $74.46 MacBook Air

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

Students also viewed these Databases questions

Question

8-6 Who poses the biggest security threat: insiders or outsiders?

Answered: 1 week ago