C++ Distance Program
The following are the series of steps designed for a program. (using only basic loops, no arrays/functions)
A. Display a welcome message: “Welcome to the Distance Tracker’
B. Ask the user for the number of months they would like to track
C. For each month
- Ask the user for the distance travelled (in miles)
- Add the distance travelled to a running total
- If the user is entering data for more than 1 month, indicate with a message to the user whether or not the distance travelled for the current month is more or less than the distance travelled in the last month.
D. Inform the user of the total amount of miles that they travelled.
8 years ago
5
Answer(2)![blurred-text]()
![]()
![blurred-text]()
![]()
Purchase the answer to view it

- miles.cpp
Purchase the answer to view it

NOT RATED
- cprogram.rar
other Questions(10)
- Choose one activity and show how men and women do that one activity differently (driving, shopping, cleaning, being in relationships, etc.)
- Project Management
- Need 10 pages, not to include abstract, references or title page.
- geology assignment
- 1. Aristotle adopted the six fold classification of forms of government already used by Plato in the Statesman. After modifying the Platonic classification Aristotle pointed out that there were serious difficulties even with the new one. Describe Aristotl
- Core Competencies
- Please explain in your own words the principles of government found in the biblical worldview. For Americans, these form much...
- FOR Sir_Evans ONLY!!!!!!
- The Post-Civil War Era
- HCS/588 Week Four QI Plan Part 2
