Exercise 2 - 01/19/2017
1. Write a C++ program to print the following numbers in the given format.
a. 436.234509876 rounded to 4 decimal places, in scientific notation.
b. 12.0 with the decimal point
c. 1.694873572548555e-19 in fixed notation rounded to 8 decimal places
2. Write a C++ program to read in 5 integer values from the user. If the veriables were, in order, named a, b, c, d and e, calculate and print the result of the expression a - b / c + d * e
Sample Output:
Please enter 5 values:
10
19
4
6
5
The result is 36