Question: Intro to C++ Project 7-2: Hike Calculator Create a program that converts the number of miles that you walked on a hike to the number

Intro to C++

Intro to C++ Project 7-2: Hike Calculator Create a program that converts

Project 7-2: Hike Calculator Create a program that converts the number of miles that you walked on a hike to the number of feet that you walked. Console Hike Calculator How many miles did you walk?: 4.5 You walked 23760 feet. Specifications The program should accept a double value for the number of miles. Store the code that gets user input and displays output in the main() function. Store the code that converts miles to feet in a separate function. This function should return an int value for the number of feet. There are 5280 feet in a mile. Assume that the user will enter a valid number of miles

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!