Write a Beginner's C++ program that will personally greet you. (e.g. Welcome back agent Perez!) After greeting you, the

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write a Beginner's C++ program that will personally greet you. (e.g. Welcome back agent Perez!) After greeting you, the

Post by answerhappygod »

Write a Beginner's C++ program that will personally greet you.(e.g. Welcome back agent Perez!) After greeting you, the programshould prompt you for 3 numbers representing, the current date'smonth, day and year.
(e.g.
What month is it? (enter as a number): 10
What day is it? (enter as a number): 5
What year is it? (enter as a number): 2021)
You will use those numbers to calculate YOUR real birthday andthe program will display YOUR current age. (Your real birthdayshould be stored in other variables or in constants).Original Birthdate is April 9th 1975
The program will display your age and based on the age theprogram calculated should display a response based on 3 possibleconditions.
(e.g.
age below 18 display "You are a youngling."
age above 18 below 25 display "You could be a padawan."
age above 25 display "You could be a knight in hopes of becominga master!"
The program should also wish you a HappyBirthday! or a Happy Unbirhtday!
You must turn in a flowchart or psuedocode forthis Homework.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply