Question
I need two C++ Programs: 1. The first program should ask user for a month number (between 1 and 12) and use switch statment to
I need two C++ Programs:
1. The first program should ask user for a month number (between 1 and 12) and use switch statment to figure out and print out the name of that month. For example if user enters 2 the program should print February.
2. According to the US constitution only natural born US citizens that are at least 35 years old can become US presidents. Write C++ program that will ask user for their age and if they are natural born US citizens (answer 'Y' or 'N') and then decide and print if the user is eligible for US presidency or not.
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