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)
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)
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images