Question: Step 1 - Create 6 functions ( methods) as defined below. Each method needs to display a single statement using cout. Call these methods from
Step 1 - Create 6 functions ( methods) as defined below. Each method needs to display a single statement using cout. Call these methods from the main() method in an order that you believe is practical. I recommend that main() be the last method in the program.
Name each method using the same naming standard for variables - including using a descriptive name that should indicate the general purpose of the method. ( Avoid step1, step2, etc)
- Create a method that says "Start your Engine".
- Create a method that says "Find your Keys".
- Create a method that says "Activate your GPS".
- Create a method that says "Drive to Destination".
- Create a method that says "Buckle up and adjust seat and mirrors".
- Create a method that says "Get inside the car".
There is some variance in the expected called order. However, the order still needs to be practical.
Step 2 - The last task is to create a method called "parked". It needs to have a string argument defined. From the main() method, call the parked method and pass it the name of a car brand. This can be a literal string in quotes.
The parked method should the display the following - with ***** being the passed car brand.
My ***** is now parked.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
