Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

THIS IS USING C++ Pay special attention to the style of your code. Indent your code correctly, choose meaningful names for your variables, define constants

THIS IS USING C++

Pay special attention to the style of your code. Indent your code correctly, choose meaningful names for your variables, define constants where needed, choose most suitable control statements, etc.

Question 3:

Write a program that:

Asks the user for their name.

Asks the user to input their graduation year.

Asks the user to input the current year.

Assume the student is in a four-year undergraduate program. Display the current status the

student is in. Possible status include: not in college yet, freshman, sophomore, junior, senior,

graduated.

Note: If graduation year equals to current year, status is Graduated; if graduation year is

four years after current year, status is Freshman, etc.

Your program should interact with the user exactly as it shows in the following example:

Please enter your name: Jessica

Please enter your graduation year: 2019

Please enter current year: 2015

Jessica, you are a Freshman

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Expert Oracle9i Database Administration

Authors: Sam R. Alapati

1st Edition

1590590228, 978-1590590225

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago