$35
1. Setup IDE (Xcode, Visual Studio, etc.) on your personal computer.
2. Write a C++ program that reads in the price of a pen and the number of it, and then output total price indollar, like $3.20
use cin to get numbers and use cout to output result.
use double to store the price of a pen, and use int to store the number of pen. State your name in a comment line.
3. Write a C++ program that takes five whole numbers as input, and that outputs the average of them.
use cin to get numbers and use cout to output result. use int to store each number.
The average is rounded off to the first decimal place. (use 'precision(1)') State your name in a comment line.
2/2