Defines an enum named Classification. The enum Classification will have 2 data values: undergraduate, graduate.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Write a program that:
Defines an enum named Classification. The enum Classification will have 2 data values: undergraduate, graduate.
Defines an enum named Status. The enum Stutus will have 2 data values: parttime, fulltime.
Defines an enum named Residency. The enum Residency will have 2 data values: resident, international.
Defines a student name variable.
Creates a Classification, Status, and Residency, credit hour, cost per credit hour, and tuition variable.
Reads the value of the Classification, Status, and Residency, student name and credit hour variable from the user.
If the student is a fulltime undergraduate resident student, tuition is credit hour times 345.00
If the student is a fulltime undergraduate international student, tuition is credit hour times 685.00
If the student is a fulltime graduate resident student, tuition is credit hour times 545.00
If the student is a fulltime graduate international student , tuition is credit hour times 885.00
If the student is a parttime undergraduate resident student, credit hours must be less than 12, tuition is credit hour times 345.00
If the student is a parttime undergraduate international student, credit hours must be less than 12, tuition is credit hour times 685.00
If the student is a parttime graduate resident student, credit hours must be less than 6, tuition is credit hour times 545.00
If the student is a parttime graduate international student , credit hours must be less than 6, tuition is credit hour times 885.00
Prints student name, classification, stutus, residency, credit hours and tuition of the student.
 
In CPlusPlus Please 
Expert Solution
Step 1

I have answered this question in step 2.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY