Question
1. The first program should ask the user for a month number (between 1 and 12) and use a switch statement to figure out and
1. The first program should ask the user for a month number (between 1 and 12) and use a switch statement to figure out and print out the name of that month. For example, if the user enters 2 the program should print February. (Using C++)
2. According to the US constitution only natural-born US citizens that are at least 35 years old can become US presidents. Write a C++ program that will ask users 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 the 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