For project 2, your program should start by asking the user to enter the following: 1....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
For project 2, your program should start by asking the user to enter the following: 1. Their first name 2. Their last name 3. Their student ID number. Only the numbers after any leading 0's. 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. a. You can use the information from project 1 or look up your own classes to use. b. 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) **Think closely about how you should define, assign, and initialize variables for your program. ** Once the user has entered their information you will then use a switch statement to provide the user with a Menu where the user can decide what he or she wants to do next. The Menu will include the options numbered below. With each option is a short description of what the selection of that option should allow for the user to accomplish. 1. Select Classes a. User needs to be asked how many classes he or she plans to register for. Choices are 1, 2 or 3. Based on the number that the user selects you then need to allow the user to choose the classes that they want to take. Make sure that the user is selecting different classes every time. 2. Enter Scholarship a. Allow for the user to select the type of scholarship that he/she is receiving, i.e. Academic, Foundation 3. View Schedule a. Here you need to give the user the choice whether they want to view the schedule on the screen or if they would like to be able to print it. If they want to print it, the schedule should be written to a file called Schedule.txt 4. View Bill a. Here you need to give the user the choice whether they want to view the schedule on the screen or if they would like to be able to print it. If they want to print it, the schedule should be written to a file called Bill.txt. 5. View Details 6. Exit a. Here you need to give the user the choice whether they want to view the details (everything as before) on the screen or if they would like to be able to print it. If they want to print it, the details should be written to a file called Details.txt. In the first project you were asked to display all of the information to the user in one print out. This is the option that the user will have with the View Details menu option, however, the user will be able to go through each individual piece and only obtain the information that they require if they are not interested in seeing the whole thing. Keep in mind, that the order in which the user chooses to perform specific tasks associated to the menu are important. For example, if the user has not selected classes then the program should not allow for the user to View a Schedule. When it comes to a Bill, if the user has not selected classes but has entered scholarship information, the bill should be displayed as a "credit" for the scholarship. If the user has not entered a scholarship and has not selected classes, then the user should not be able to view the bill. If the user selects View Details, but does not have a schedule or a bill, then the user should still be provided a copy of their acceptance. The display of the information should follow the format that you completed in Project 1. Both the schedule and the bill should be found in a tabular format using output formatting, and the letter should populate from information that the user has entered. Concepts to keep in mind: 1. Assign values to all constant variables that are associated with information that will NOT change. 2. Be sure that you are working with the decision making process correctly (if, if/else, nested statements). 3. Only use switch statements for your menus. 4. Be sure that you select appropriate loops where needed. Think about the type of look that you need to use beforehand (counted, pre or posttest) 5. You must have validation throughout the program. Be sure that if the user enters information incorrectly that he/she has the opportunity to fix that entry before the program continues. 6. Remember you are dealing with money therefore should only have 2 decimal places. 7. Every menu option that the user selects should allow for them to go back to the main menu and do something else before they choose to exit the program. 8. There will be points associated to the creativity of your display. You can follow the format that I have provided on the sample output to be sure that you implement the output formatting that is required. You may use escape characters, but points are associated to the output formatting commands and not the escape characters. 9. Do not use any other concept that we have not covered! Deliverables 1. Flowchart 2. Source file 3. PDF with screen shots 4. Schedule.txt 5. Bill.txt 6. Details.txt For project 2, your program should start by asking the user to enter the following: 1. Their first name 2. Their last name 3. Their student ID number. Only the numbers after any leading 0's. 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. a. You can use the information from project 1 or look up your own classes to use. b. 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) **Think closely about how you should define, assign, and initialize variables for your program. ** Once the user has entered their information you will then use a switch statement to provide the user with a Menu where the user can decide what he or she wants to do next. The Menu will include the options numbered below. With each option is a short description of what the selection of that option should allow for the user to accomplish. 1. Select Classes a. User needs to be asked how many classes he or she plans to register for. Choices are 1, 2 or 3. Based on the number that the user selects you then need to allow the user to choose the classes that they want to take. Make sure that the user is selecting different classes every time. 2. Enter Scholarship a. Allow for the user to select the type of scholarship that he/she is receiving, i.e. Academic, Foundation 3. View Schedule a. Here you need to give the user the choice whether they want to view the schedule on the screen or if they would like to be able to print it. If they want to print it, the schedule should be written to a file called Schedule.txt 4. View Bill a. Here you need to give the user the choice whether they want to view the schedule on the screen or if they would like to be able to print it. If they want to print it, the schedule should be written to a file called Bill.txt. 5. View Details 6. Exit a. Here you need to give the user the choice whether they want to view the details (everything as before) on the screen or if they would like to be able to print it. If they want to print it, the details should be written to a file called Details.txt. In the first project you were asked to display all of the information to the user in one print out. This is the option that the user will have with the View Details menu option, however, the user will be able to go through each individual piece and only obtain the information that they require if they are not interested in seeing the whole thing. Keep in mind, that the order in which the user chooses to perform specific tasks associated to the menu are important. For example, if the user has not selected classes then the program should not allow for the user to View a Schedule. When it comes to a Bill, if the user has not selected classes but has entered scholarship information, the bill should be displayed as a "credit" for the scholarship. If the user has not entered a scholarship and has not selected classes, then the user should not be able to view the bill. If the user selects View Details, but does not have a schedule or a bill, then the user should still be provided a copy of their acceptance. The display of the information should follow the format that you completed in Project 1. Both the schedule and the bill should be found in a tabular format using output formatting, and the letter should populate from information that the user has entered. Concepts to keep in mind: 1. Assign values to all constant variables that are associated with information that will NOT change. 2. Be sure that you are working with the decision making process correctly (if, if/else, nested statements). 3. Only use switch statements for your menus. 4. Be sure that you select appropriate loops where needed. Think about the type of look that you need to use beforehand (counted, pre or posttest) 5. You must have validation throughout the program. Be sure that if the user enters information incorrectly that he/she has the opportunity to fix that entry before the program continues. 6. Remember you are dealing with money therefore should only have 2 decimal places. 7. Every menu option that the user selects should allow for them to go back to the main menu and do something else before they choose to exit the program. 8. There will be points associated to the creativity of your display. You can follow the format that I have provided on the sample output to be sure that you implement the output formatting that is required. You may use escape characters, but points are associated to the output formatting commands and not the escape characters. 9. Do not use any other concept that we have not covered! Deliverables 1. Flowchart 2. Source file 3. PDF with screen shots 4. Schedule.txt 5. Bill.txt 6. Details.txt
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these accounting questions
-
During 2015, Franklin, who is single, made the following gifts (all outright gifts, no trusts): Property worth $1,264,000 to his daughter $3,014,000 cash to his favorite grandchild Real estate worth...
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
4 Comparative Programming Languages illustrating your answer by explaining the meaning of the following fragment of code: [self isAwake] whileTrue: [| item | item := self askForCookie. (self...
-
Prepare a forecast of after-tax cash flows for fiscal 2022, 2023, and 2024 for each of the two financing proposals, assuming the following: Revenue increases 5% annually. EBITDA margin is 15%. ...
-
An exporter gets the same protection from using a bill of exchange as from using a letter of credit. Discuss.
-
Consider three LANs interconnected by two routers, as shown in Figure 5JX. a. Assign IP addresses to all of the interfaces. For Subnet I use addresses of the form 192.168. I .xxx; for Subnet 2 uses...
-
A company is considering changing the price charged for one of its products. What information, both qualitative and quantitative, do you think it requires in order to evaluate whether or not this...
-
In July 2010, Zinger Corp. purchased 20,000 gallons of Numerol for $61,000 to use in the production of product #43MR7. During July, Zinger Corp. manufactured 3,900 units of product #43MR7. The...
-
4. Find the mean of the data set: {6, 11, 7, 15, 6, 10, 4} Round your answer to the nearest hundredths. Answer =
-
Required Rate of Return Stock R has a beta of 1.5, Stock S has a beta of 0.55, the expected rate of return on an average stock is 13%, and the risk-free rate is 6%. By how much does the required...
-
What are the most vulnerable points in a data communications network with respect to wiretapping? What actions can security administrators take to prevent or inhibit wiretapping?
-
For each of the following threats, give a control that might reduce exposures: a. Pirated software b. Violation of the licensing conditions pertaining to a proprietary database c. Employee use of an...
-
Briefly distinguish between viruses and worms. List two controls over viruses and worms (one for viruses and one for worms) that security administrators might implement to reduce exposures.
-
Give one preventive control and one detective control over the activities of computer hackers.
-
What are the controls of last resort? Briefly explain the nature of each.
-
PART 1: After reading about Erikson's Stages of Psychosocial Development---Provide an example for each stage of a crisis or issue a person might face. For example - Trust versus Mistrust: A parent or...
-
In Exercises 516, find the focus and directrix of the parabola with the given equation. Then graph the parabola. y 2 = 4x
-
Core Petroleum is considering drilling one well on either the Rago lease or the Bennett lease in Texas. Core does not have sufficient funds to drill both wells and must decide which of the two wells...
-
Polecat Corporation is considering beginning drilling operations in three separate fields. Polecat decides to analyze these fields using a 13% discount rate. The estimated cash flows for each field...
-
Define the following: asset retirement obligation retirement accretion promissory estoppel legally enforceable obligation obligating event
Study smarter with the SolutionInn App