Write a program Lab01_03.py to calculate the total university fee of a student. The tuition is...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program Lab01_03.py to calculate the total university fee of a student. The tuition is $14500. Dormitory fees are $5000 for a single room and $3500 for a double room. The meal plan is $600 per year. The program will display total fee to be paid for the academic year. Sample Run: Dormitory (y/n): y (S) ingle Room or (D) ouble Room: D Add meal plan? (true/false): false Total Fee Due: $18000.00 Sample Run: Dormitory (y/n): n Total Fee Due: $14500.00 Sample Run: Dormitory (y/n): y (S) ingle Room or (D) ouble Room: S Add meal plan? (true/false): true Total Fee Due: $20100.00 Write a program Lab01_03.py to calculate the total university fee of a student. The tuition is $14500. Dormitory fees are $5000 for a single room and $3500 for a double room. The meal plan is $600 per year. The program will display total fee to be paid for the academic year. Sample Run: Dormitory (y/n): y (S) ingle Room or (D) ouble Room: D Add meal plan? (true/false): false Total Fee Due: $18000.00 Sample Run: Dormitory (y/n): n Total Fee Due: $14500.00 Sample Run: Dormitory (y/n): y (S) ingle Room or (D) ouble Room: S Add meal plan? (true/false): true Total Fee Due: $20100.00
Expert Answer:
Answer rating: 100% (QA)
This is the python code for the given situation total 14500 c inputDormitory yn ifc y r inputSing... View the full answer
Related Book For
Financial Accounting Tools for Business Decision Making
ISBN: 978-1119368458
7th Canadian edition
Authors: Paul D. Kimmel, Jerry J. Weygandt, Donald E. Kieso, Barbara Trenholm, Wayne Irvine
Posted Date:
Students also viewed these programming questions
-
1) Sleep More Corporation has pledged to pay a $10 per share dividend every year indefinitely. if you require an 11% return on your investment, how much will you pay for the company's shares today? ...
-
give the Definitions/description of the following specialization structural engineering geotechnical engineering construction engineering transportation engineering water resources engineering
-
One analogy that is used to think about what is happening in an electric circuit is that of a bucket brigade. Bucket brigades were used before 1900 to fight fires. A group of people would each have a...
-
1. A salesperson earned a commission of $3575 for selling $32,500 worth of books to various bookstores. Find the commission rate. 2. Frankie Lopez sold $9638 of jewelry this week. Find her commission...
-
In Exercises, find all points where the functions have any relative extrema. Identify any saddle points. (x, y) = y 2 + 2e x
-
The force of friction is one of the most common forces that affects our everyday lives, and there are many situations where we either want to minimize or maximize it. Consider a children's playground...
-
Accounting for Trade Name In early January 2009, Reymont Corporation applied for a trade name, incurring legal costs of $18,000. In January of 2010, Reymont incurred $7,800 of legal fees in a...
-
7. A vertical spring is fixed to one of its end and a massless plank fitted to the other end. A block is released from a height has shown. Spring is in relaxed position. Then choose the correct...
-
Determine the largest intensity w 0 of the distributed load that the beam can support if the beam can withstand a maximum shear force of V max = 1200 lb and a maximum bending moment of M max = 600 lb...
-
Describe a lump sum, an annuity due, an ordinary annuity, and multiple cash flows. How are the present value and future value calculated for each? What is an APR? What is an EAR? How are they...
-
A water supply system was designed to provide water for the domestic use of a small community from a reservoir with the surface elevation of the reservoir at 300 ft. (Neglect minor losse) Pipe A and...
-
How would a manager use economic theory to determine profit-maximizing price for a service or product? What is the process of target costing and how is target cost calculated?
-
You have been provided with the following information strips with $100 par values. a. Compute the forward rates of interest in the space provided in the table below: MATURITY (YEARS) SEMI-ANNUAL SPOT...
-
How would your answer change, if at all, if the $220,000 cash price were not available? how the entry to record the acquisition of the machine would change if the $220,000 cash price were not...
-
South Korea's Employment Laws Slowly Adapt to Aging Population After 40 years working as an elementary school principal, Chae Jae-min now drives a delivery truck. At 64, he has few other choices. The...
-
Verify that your sample is completely dry Check your data. Reevaluate your calculations. Collected Volume sodium carbonate (ml) Molarity sodium carbonate (M) Volume calcium chloride (mL) Molarity...
-
U.S. households have become smaller over the years. The following table from the 2010 GSS contains information on the number of people currently aged 18 years or older living in a respondent's...
-
Selected ratios for the current year for two companies in the office supplies industry, Bureau Nouveau Inc. and Supplies Unlimited Corp., follow: Instructions (a) Both companies offer their customers...
-
The financial statements of The North West Company Inc. are presented in Appendix A followed by the financial statements for Sobeys Inc. in Appendix B. Instructions (a) Calculate the liquidity ratios...
-
Using the information from BE10.15, prepare a partial bond amortization table for the first two interest payments assuming that interest is paid on July 1 and January 1 and that the bonds sold when...
-
Figure P19.5 shows an existing design of a process plant, containing two exothermic processes. These require streams of reactants as shown in the diagram, and produce products at the temperatures...
-
Recalculate the problem in P19.5 using a \(\Delta T_{\min }=10{ }^{\circ} \mathrm{C}\). Comment on the effect of reducing the minimum temperature difference. [ (a) \(T_{\mathrm{C}_{\text {pinch...
-
A network for a process plant is shown in Fig P19.7. (a) Calculate the energy targets for \(\Delta T_{\min }=10{ }^{\circ} \mathrm{C}\) and show a design that achieves these targets. (b) Explain why...
Study smarter with the SolutionInn App