writing a program that will ask the user to input four pieces of information: Their first name Their last name Their student ID number. Only the numbers after any leading 0’s. The amount of a scholarship Your program will provide a display where it will show where the user has been asked for the information, followed by a statement that will display the information entered as a confirmation statement on the screen, then a list of classes will be presented with the number of credit hours for each class and the overall enrollment at the bottom. Following the list of classes will be a billing statement. The billing statement will display the cost of tuition, the fees that are applied to a student’s account, any scholarship(s) the student has received and the total of what the student has to pay. Both the list of classes and the billing statement should be displayed in a tabular format. You must use output formatting such as set-width, and alignment to create the tabular display. For dollar amounts that have to be shown, be sure that you have set your values to display two decimal places.  The following information should be defined in your program:  The tuition per credit hour is $263.00. The overall fees for a student’s registration is $162.50 A minimum of three classes, one that is 1 credit hour, one that is 2 credit hour, and one that is 3 credit hours.  You can use the information that is shown in the sample output or look up your own classes to use. Note that course prefix and numbers could be used more than once and should not change. i. The prefix of CS can be used in more than just one class. ii. The number 308 can be used in more than just one class (i.e. MA 308, and ITE 308)

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 1CP
icon
Related questions
Question

writing a program that will ask the user to input four pieces of information:

  1. Their first name
  2. Their last name
  3. Their student ID number. Only the numbers after any leading 0’s.
  4. The amount of a scholarship

Your program will provide a display where it will show where the user has been asked for the information, followed by a statement that will display the information entered as a confirmation statement on the screen, then a list of classes will be presented with the number of credit hours for each class and the overall enrollment at the bottom. Following the list of classes will be a billing statement. The billing statement will display the cost of tuition, the fees that are applied to a student’s account, any scholarship(s) the student has received and the total of what the student has to pay. Both the list of classes and the billing statement should be displayed in a tabular format. You must use output formatting such as set-width, and alignment to create the tabular display. For dollar amounts that have to be shown, be sure that you have set your values to display two decimal places. 

The following information should be defined in your program: 

  1. The tuition per credit hour is $263.00.
  2. The overall fees for a student’s registration is $162.50
  3. A minimum of three classes, one that is 1 credit hour, one that is 2 credit hour, and one that is 3 credit hours. 
    1. You can use the information that is shown in the sample output or look up your own classes to use.
    2. Note that course prefix and numbers could be used more than once and should not change.

i. The prefix of CS can be used in more than just one class.
ii. The number 308 can be used in more than just one class (i.e. MA 308, and ITE 308)

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Random Class and its operations
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,