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
-
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%. ...
-
What are the major differences between using letters of credit and bills of exchange (drafts) as procedure for financing exports and receiving payment?
-
A rocket designed to place small payloads into orbit is carried to an altitude of 12.0 k/n above sea level by a converted airliner. When the airliner is flying in a straight line at a constant speed...
-
How to determine what evidence is excluded based on the hearsay rules?
-
The Beef-Up Ranch feeds cattle for Midwestern farmers and delivers them to processing plants in Topeka, Kansas, and Tulsa, Oklahoma. The ranch must determine the amounts of cattle feed to buy so that...
-
Suppose the country of Foggyfogfog is considering whether to adopt a carbon tax. The country has a single highly polluting sector which is steel and includes both small and medium sized enterprises...
-
Jones Company, a company producing and distributing household electrical products, is evaluating whether to invest in a local warehouse close to the market. In the current situation without a...
-
Susan Jason, CPA, had been auditing the financial statements of Rosfeld Stores, Inc,, a large department store, for several years. During the last two years a nationwide economic recession had...
-
For each of the following scenarios, indicate whether action by the indicated party could be successfully brought against the auditor for (a) ordinary negligence under common law, (b) gross...
-
The items below appear on an employment application. Determine the level of measurement of the data for each category. (a) Highest grade level completed (b) Gender (c) Year of college graduation (d)...
-
What is global account management?
-
According to the AICPA's ethical standards, an auditor would be considered in- dependent in which of the following instances? a. The auditor has an automobile loan from a client bank. b. The auditor...
-
The Archives of Pediatrics and Adolescent Medicine (Dec. 2007) conducted a study of 105 ill children to determine if honey was a remedy for coughing. The children were randomly divided into groups....
-
Write the expression in radical notation. Then evaluate the expression when the result is an integer. 23 -1/2
-
Two blocks of metal, each of mass \(10 \mathrm{~kg}\) and a specific heat of \(0.4 \mathrm{~kJ} / \mathrm{kg} \mathrm{K}\), are at a temperature of \(40^{\circ} \mathrm{C}\). A reversible...
-
1 kg of air at 3.5 bar and occupying \(0.35 \mathrm{~m}^{3}\) is heated at constant volume until its temperature has rises to \(316^{\circ} \mathrm{C}\). Find \((a)\) heat added, and \((b)\) gain in...
-
A gas undergoes the following reversible non-flow processes during its initial pressure of 15 bar and volume \(1 \mathrm{~m}^{3} / \mathrm{kg}\) to final pressure of 6 bar and volume \(2...
Study smarter with the SolutionInn App