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
Get step-by-step solutions from verified subject matter experts
