Question: c++ programing Tasks 1) Create a function with the following signature: int PromptForInteger(const char *prompt, int lowerLimit, int upperLimit); The function must keep prompting the

c++ programing

Tasks

1) Create a function with the following signature:

int PromptForInteger(const char *prompt,

int lowerLimit,

int upperLimit);

The function must keep prompting the user to enter a value until they enter a value within range. The function must return the entered value.

2) Create a function that gets the following information from the user:

Their age

The month of their birth

The day of their birth

All three values must be entered as integers. You must use PromptForInteger to perform the input. The values must be returned to the caller.

3) Create a function that prints the date of someones 21st birthday given their age, and the month and day of their birth.

4) Create a main() that calls the functions from parts 2 and 3.

5) Create a Structure Chart for your program.

Submitting your lab

You must create a ZIP file of your project. You must create a PDF of your structure chart. If you use a Microsoft product (Word, PowerPoint, Visio) to create your structure chart, you should be able to export it as a PDF.

You must attach two files to your submission: the ZIP file of your project and the PDF of your structure chart.

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 Databases Questions!