Im lost with this problem I don't even know where to began. there any way anyone could or would be wiling to help me out.
<Your full name>’s Space Travel Company’s main business is to equip spaceships with the following standard cargos. The captains of different spaceships would purchase different amounts of cargo, and pay <Your full name>’s Space Travel Company according to the price listed below. Cargo Description Cargo Unit for Sale Price per Unit
Proton Cannon Ammunition
$17.2 (per 100 Rounds)
Write a C++ program that does the following:
Display your company name “<Your full name>’s Space Travel Company”
Read a three-digit spaceship identification number, captain’s name, and an int cargo amount for each of the four cargo categories.
Compute the cost for each of the four cargo categories, use double for cost.
o The cost for each cargo category MUST be computed in a function. There will be only one function to calculate this cost. The function will be called four times (once for each cargo category). The prototype of this function is: double calcCost(int cargoAmount, double pricePerUnit);
Print the spaceship identification number and the captain’s name.
For each of the four cargo categories, print the description, the sales amount, and the cost in column format using a void function. The function is to print only one description, sales amount and cost. It is to be called four times (once for each cargo category).
Print the total paid to the company.
Continue looping (requesting a new spaceship id) until -999 is inputted for spaceship identification number
Welcome to Jim Vandergriff’s Space Travel Company //your name
Please Enter Spaceship Identification or -999 to Terminate 111
Please Enter the Captain’s Name John Smith
Please Enter Fuel Pod Sales 5
Please Enter Proton Cannon Ammunition Sales 2000
Please Enter Jetpack Sales 6
Please Enter Oxygen Sales 3
Jim Vandergriff’s Space Travel Company Sales Statement //your name
Spaceship Identification Number 111 //captured input
Captain’s Name: John Smith //captured input
Cargo Sales Amount Cost
Fuel Pod 5 pods $627.50 //5 * 125.50
Cannon Ammunition 2000 rounds $344.00 //(2000/100) * 17.2
Jetpack 6 jetpacks $594.00 //6 * 99.00
Oxygen 3 tanks $151.20 //3 * 50.40
Total Due $1716.70 //add 4 items above
Welcome to Jim Vandergriff’s Space Travel Company
Please Enter Spaceship Identification or -999 to Terminate 113