Checkpoints1) Include name, e-mail, and lab# as comment and print same to output2) Minimum of three (3) comments in each function (Purpose: Pre: Post:)3) use a globally defined constant for the rate of profit4) Input may not be case sensitive. That is, if user enters ‘r’ change it to ‘R’ immediately. To do this use if() and assign uppercase value or you may use toupper() function (see 10.2 on page 545 of text). Only an error message should be output and nothing more if data is erroneous. Use exit() function as explained in 6.15 (p. 360).5) A function must be used to calculate the number of books to be ordered. Round to the nearest whole number. Hint: static_cast (x + .5)6) A function must be used to calculate the profit given the number of books and unit price.
7) One function must be used for all the output8) Output must be formatted using dollar sign and 2 decimal place as shown on page 1.TEST DATA
(###) ###-####34.98,35,R,O
(###) ###-####34.98,34,R,O
(###) ###-####5.95,40,S,O
(###) ###-#### 65.99, 35, N, Y
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more