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.
-
How are individuals controlled or influenced to work towards the strategic aims of the BEF?
-
Teaching reading An educator believes that new reading activities in the classroom will help elementary school pupils improve their reading ability. She recruits 44 third-grade students and randomly...
-
Inferring Missing Amounts Based on Income Statement Relationships Supply the missing dollar amounts for the income statement for each of the following independentcases: Pretax Income Available...
-
c. Journalize the entries to apply factory overhead to production in each factory for August. If an amount box does not require an entry, leave it blank. Factory 1 Work in Process Factory Overhead...
-
4. Do the following expressions evaluate to true or false? Show your work. (8) a. uint8 t a = 12, b = 15, c = 19; char ch1 = 'F', ch2 = 'e', ch3 = 16'; ! (ch2 ch1) | a&c b. ((alb) < < (b&c)) = ch2
-
The year-end financial statements of Python Tax Services are provided below. Service revenue Expenses: Salaries Utilities Insurance Supplies Net income PYTHORT TAX SERVICES Income Statement $ 68,500...
-
a. Calculate the volume of the solid of revolution created by rotating the curve y=2+4 exp(-5 x) about the x-axis, for x between 2 and 4. Volume: b. The equation of a circle of radius r, centered at...
-
The simply supported timber beam of Figure 1 is made-up by gluing together three 300 mm by 150 mm planks as shown. The beam has to carry a uniformly distributed vertically downward load of 8 kN/m for...
-
Simon Company's year-end balance sheets follow. At December 31 Assets Cash Accounts receivable, net Merchandise inventory Prepaid expenses Plant assets, net Total assets Liabilities and Equity...
-
Openthe Phetsimulation Charges and Field from this link: ( https://phet.colorado.edu/en/simulation/charges-and-fields ) . In this simulation, a little different model is used: the little yellow "E...
-
You have just been hired as a trainee accountant by a fashion house, Louis Versailles Ltd. In 2020 at the 25th Mercedes- Bena Fashion Week Louis Versailles Ltd will be holding a fashion parade for...
-
In Exercises 15 through 30, find the derivative dy/dx. In some of these problems, you may need to use implicit differentiation or logarithmic differentiation. y ex + et -2x 1 + e
-
What would be an appropriate research methodology to verify that the categorization of issues proposed in this chapter is representative, or alternative, identify an improved conceptualization?
-
Why are different interdependency types (or dimensions), such as governance versus resources interdependencies), sometimes misaligned?
-
How can you reduce the number of interdependencies between individuals or teams?
Study smarter with the SolutionInn App