Question: ! ! ! Could the answer be in C + + ! ! ! Sample Output The vehicle is in chamber ( 0 , 0

!!!Could the answer be in C++!!!
Sample Output
The vehicle is in chamber (0,0).
The ore in this chamber is 2.3 tons.
Load the ore? (yn):y
The ore in this chamber is 2.3 tons.
Enter the amount to load: 2.3 tons.
Input one of these choices (NS??EW):E
That is the valid exit!
You are now in chamber (1,0).
The ore in this chamber is 4.8 tons.
Load the ore? (yn):y
Enter the amount to load: 3.5 tons.
Input one of these choices (NS??EW):N
That is the valid exit!
You are now in chamber (1,1).
The ore in this chamber is 1.7 tons.
Load the ore? (yn): n
Input one of these choices (NS??EW) : W
That is the valid exit!
You are now in chamber (0,1).
The ore in this chamber is 3.4 tons.
Load the ore? (yn):y
Enter the amount to load: 5.3 tons.
That amount is more than the ore in this chamber!
Enter the amount to load: 1.4 tons.
Input one of these choices (NS??EW):N
Not a valid exit for chamber (0,1). The valid exit is: S
Input one of these choices (NS??EW) : S
That is the valid exit!
You are now in chamber (0,0)
The amount of ore in the vehicle is: 7.2 tons.
 !!!Could the answer be in C++!!! Sample Output The vehicle is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!