Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help writing a C++ program with Boolean Expression. Below is the instructions. I have steps 1-4 written out but when I run the
I need help writing a C++ program with Boolean Expression. Below is the instructions.
I have steps 1-4 written out but when I run the program it does run the IF statements
I Have Solved this question !!!!
Write a program to determine if an individual has a marathon time that qualifies them for the Boston 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 1. 2. 3. 4. Output: (see the sample runs below) 1. 2. 3. 4. 5. 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 (Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started