Question: Write a program ( call it myJogging ) that will do the following: declare the following constants in your program. MIN _ MILES with an
Write a program call it myJogging that will do the following:
declare the following constants in your program. MINMILES with
an integer value of MAXMILES with an integer value of You
must use these constants in your code
read in your first name and assign it to a variable called name
read in the number of miles you run every time you go out and jog
and assign it to a variable called milesRun
test this value to make sure that it is between MINMILES miles
inclusive and MAXMIles miles inclusive If the user enters any
value outside of this range, then you are to continue prompting
the user to enter the miles until a valid value is entered hint: use a
while loop Look at the example outputs below as a guidance
on what you should print out for this possible scenario
print out a header and a menu that will ask the user to select a
value from the menu how many days they have jogged this week
Read in the user's selection and store it in a variable called days.
Look at the example outputs below as a guidance on what you
should print out for this menu
using the value of days, now determine what to print out. If the
value of days is:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
