[SOLVED] COSC6000 homework01

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon homework01-nxlaci.zip (103.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)
  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.

 

  1. 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.

  • homework01-nxlaci.zip