Question: Write a c + + program to determine if an individual has a marathon time that qualifies them for the Boston Marathon. Input: prompt for
Write a c program to determine if an individual has a marathon time that qualifies them for the Boston
Marathon.
Input: prompt for and input this data see the sample runs below:
a first name and a last name and input each into a separate string variable
an age and input it into an integer variable
an indication of gender and input it into an appropriate variable
a time in hours, minutes, and seconds and input each part into a separate integer variable
Output: see the sample runs below:
First and last names of the individual
Their age and gender using "male" and "female", no matter how the data was entered
Their time
An indication of whether or not they qualify
If they do not qualify, indicate if it is due to age or time
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
