Question: Use an IDE to write programs to solve the following. This is for C++. Create an integer named age, and a string named name. Ask

Use an IDE to write programs to solve the following. This is for C++.

  1. Create an integer named "age", and a string named "name". Ask the user for their age and their name and store it in the appropriate variables. Then output the information to the console..
  2. Create a character named "favorite letter". Ask the user for their favorite letter and store it in the variable. Output the letter both before and after that letter.
  3. Ask the user how many miles they have traveled and how many hours it took them. Output their miles per hour.

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 Programming Questions!