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
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