Docsity

Exercise 3.3: Validating Inputs in C++, Summaries of Thermodynamics

Partial preview of the text

Download Exercise 3.3: Validating Inputs in C++ and more Summaries Thermodynamics in PDF only on Docsity!

EXERCISE 3.

a. double prices b. int quantity c. int disc =3 0 d. cin >> total prices; total prices = (pricesquantity)(100-DISC)/100.00;