Answered step by step
Verified Expert Solution
Link Copied!

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 !!!! image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Main Memory Database Systems

Authors: Frans Faerber, Alfons Kemper, Per-Åke Alfons

1st Edition

1680833243, 978-1680833249

More Books

Students also viewed these Databases questions

Question

1-4 How will MIS help my career?

Answered: 1 week ago