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.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
icon
Related questions
Question

This need to be written in c++

 

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.
 
 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT