Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions