Question

Suppose that the tuition for a university is $10,000 this year and increases 5% every year....

Suppose that the tuition for a university is $10,000 this year and increases 5% every year. In one year, the tuition will be $10,500. Write a program using for loop that computes the tuition in ten years and the total cost of four years’ worth of tuition after the tenth year.

You can use any Pep, Arm or Intel Assembly.

Design:

Code:

Output:
0 0
Add a comment Improve this question Transcribed image text
Answer #1

CODE:

public static void main(String[] args) { 10000; int tuitionPerYear int totalcost 0; for (int i = 1; i <= 14; i++) { tuitionPe

Output The cost of tuition in 10 years is $16284 The total cost of 4 years tuition in 10 years is $73690

PLEASE GIVE A THUMBS UP.

THANK YOU !

Add a comment
Know the answer?
Add Answer to:
Suppose that the tuition for a university is $10,000 this year and increases 5% every year....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hello, I need help implementing a program in f# for an example problem: "Suppose that the tuition...

    Hello, I need help implementing a program in f# for an example problem: "Suppose that the tuition for a university is $10,000 this year and increases 5% every year. In one year, the tuition will be $10,500. Write a program that displays the tuition in 10 years and the total cost of 4 years’ worth of tuition starting after the 10th year." I don't have a lot of experience with functional programming languages. Can someone show me how to go...

  • For this program you will be looking at future tuition at your university. In 2017, the...

    For this program you will be looking at future tuition at your university. In 2017, the tuition for a full time student is $6,450 per semester. The tuition will be going up for the next 7 years at a rate of 3.5% per year. Write your program in PYTHON using a loop that displays the projected semester tuition for the next 7 years. You should display the actual year (2018, 2019, through 2024) and the tuition amount per semester for...

  • (**IN PYTHON**) In 2019, the tuition for a full time student is $7,180 per semester. The...

    (**IN PYTHON**) In 2019, the tuition for a full time student is $7,180 per semester. The tuition will be going up for the next 7 years at a rate of 3.5% per year. Write your program using a loop that displays the projected semester tuition for the next 7 years. You may NOT hard code each years tuition into your program. Your program should calculate the tuition for each year given the starting tuition in 2019 ($7, 180) and the...

  • Suppose that 5 years from now you will receive $10,000 at the end of every year...

    Suppose that 5 years from now you will receive $10,000 at the end of every year for 5 years. What is the present value of this annuity if the opportunity cost rate is 5%?

  • Suppose that $1000 is deposited into an account that pays 5% interest per year, at the...

    Suppose that $1000 is deposited into an account that pays 5% interest per year, at the end of each year, the amount in the account is 1.05 times the amount at the beginning of the year. Write a MATLAB program with a for loop to calculate the amount in the account after 10, 20, and 30 years. Repeat problem 1, assuming that the interest is compounded quarterly; that is, one-fourth of the annual interest (1.25%) is added to the account...

  • The University of Danville is a private not-for-profit university that starts the current year with $700,000...

    The University of Danville is a private not-for-profit university that starts the current year with $700,000 in net assets: $400,000 without donor restrictions and $300,000 with donor restrictions. The $300,000 is composed of $200,000 with purpose restrictions and $100,000 that must be held permanently. The following transactions occurred during the year. Charged students $1.2 million for tuition and fees. Received a donation of equity investments that had cost the owner $100,000 but is worth $300,000 currently. According to the terms...

  • I need the pseudocode and python for the four attached problems: 1. (Chapter 5 - For...

    I need the pseudocode and python for the four attached problems: 1. (Chapter 5 - For Loop) Logic Technical College has a current tuition of $10,000 per year. Tuition is scheduled to increase by 5% each year. Using a FOR loop, design a program that calculates and displays the tuition each year for the next ten years, like so: The tuition for year 1 will be: 10500.00 The tuition for year 2 will be: 11025.00 ……….. (You, of course will...

  • Arizona State University - CSE205 Assignment #9 Due Date Friday, March April 3rd, 5:30pm Important: This...

    Arizona State University - CSE205 Assignment #9 Due Date Friday, March April 3rd, 5:30pm Important: This is an individual assignment. Please do not collaborate. No late assignment will be accepted. Make sure that you write every line of your code. Using code written by someone else will be considered a violation of the academic integrity and will result in a report to the Dean's office. It must be submitted on-line (Course website). Go to "GradeScope" tab on Canvas -> CSE205...

  • Write a program to help answer questions like the following: Suppose the species Klingon ox has...

    Write a program to help answer questions like the following: Suppose the species Klingon ox has a population of 100 and a growth rate of 15 percent, and the species elephant has a population of 10 and a growth rate of 35 percent. How many years will it take for the elephant population to exceed the Klingon ox population? You can assume that this will happen within 10 years. Use the version of the class Species from Sakai’s Week 7...

  • Program Info: Write a program that accepts a year written as a four-digit Arabic (ordinary) numeral...

    Program Info: Write a program that accepts a year written as a four-digit Arabic (ordinary) numeral and outputs the year written in Roman numerals. Important Roman numerals are V for 5, X for 10, L for 50, C for 100, D for 500, and M for 1,000. Recall that some numbers are formed by using a kind of subtraction of one Roman “digit”; for example, IV is 4 produced as V minus I, XL is 40, CM is 900, and...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT