Design a program for Jones College. The current tuition is $12,000 per year, and tuition is expected to increase by 5 percent each year. Display the tuition amount for each year over the next five years (use a looping structure) and also the total tuition at the end of the program. Hint: You will need to use two assignment statements for calculating purposes. One will be an accumulating total assignment statement.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter8: Working With Advanced Functions
Section: Chapter Questions
Problem 2.11CP
icon
Related questions
Question

PLEASE USE FLOWGORITHM.

Design a program for Jones College. The current tuition is $12,000 per year, and tuition is expected to increase by 5 percent each year. Display the tuition amount for each year over the next five years (use a looping structure) and also the total tuition at the end of the program. Hint: You will need to use two assignment statements for calculating purposes. One will be an accumulating total assignment statement.


Expert Solution
Step 1: Algorithm
  1. Initialize the variables tuition with the initial tuition amount of $12,000 and totalTuition as 0.
  2. Display a header for the "Year" and a line of dashes to separate the output.
  3. Use a loop to iterate from year = 1 to 5 (inclusive).
    • Display the current year number.
    • Calculate and display the tuition amount for the current year.
    • Add the current year's tuition to the totalTuition.
    • Calculate the tuition for the next year using a 5% increase.
  4. After the loop, display the "Total tuition" along with the accumulated totalTuition.
  5. End the program.
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 2 images

Blurred answer
Knowledge Booster
Structure chart
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L