Question: In C++ please #include using namespace std; int main() { // your code goes here return 0; } The distance form Cameron to Epic is

In C++ please

#include using namespace std;

int main() { // your code goes here return 0; }

The distance form Cameron to Epic is 1 mile. The shuttle bus arrives on the 15 minutes in front of Cameron. The bus travels at 5 mph. Your class prior to this one ends at 12:15 pm. If you walk you can travel at 2 mph.

Write the program that includes the following:

A calculation that outputs how many minutes it will take to walk to class

A calculation that outputs how many minutes it will take to arrive via bus

Asks the user to input the source of transportation that takes the least amount of time and outputs You should ________ to get to class on time. ( alter as necessary).

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!