Checkpoints1) include name | Computer Science homework help
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
Checkpoints1) include name | Computer Science homework help
ad: Delta 8 online | THC Online | Buy hemp online | THC Carts | Delta 8 Carts | THCO Carts | HQD Vape | Fume Vape | Fume Extra | Fume Unlimited | HQD Cuvie | HQD Cuvie plus | zero Nic Disposable Vapes | Fume Infinity | Fume Ultra | FoodGod | Supreme Vape
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