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. MIN_MILES with
an integer value of 1, MAX_MILES with an integer value of 4. 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 MIN_MILES miles
(inclusive) and MAX_MIles 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 output(s) 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 output(s) 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:
Write a program ( call it myJogging ) that will

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!