1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Phoenix [80]
3 years ago
12

At one college, the tuition for a full-time student is $6,000 per semester. It has been announced that the tuition will increase

by 2 percent each year for the next five years. Design a program with a FOR loop that displays the projected semester tuition amount for the next five years. You will implement this program using Javascript. Use repl.it and export your code into a zip file. Upload the zip file to this assignment.
Computers and Technology
1 answer:
Alina [70]3 years ago
8 0

Answer:

  1. var projected_fee = 6000;  
  2. for(var i = 1; i <= 5; i++){
  3.    projected_fee = projected_fee * 0.02 + projected_fee;
  4.    console.log("$" + projected_fee.toFixed(2));
  5. }

Explanation:

Firstly, create a variable, projected_fee, and set the initial tuition fee value to it (Line 1).

Next, user a for loop that run for 5 times to repeatedly calculate the projected_fee based on 2 percent of increment rate (Line 4) and display the projected fee to console terminal (Line 5). The output should be

$6120.00

$6242.40

$6367.25

$6494.59

$6624.48

You might be interested in
Which question can most help a writer revise an argumentative essay?
Jobisdone [24]
Do details provide support for the claim
7 0
3 years ago
Read 2 more answers
Add code to this loop, to pick up all of the radios, with only seven blocks.
Goshia [24]

Answer:

umm

Explanation:

what do you mean by that

4 0
3 years ago
Which action will help you protect data in your computer in case of an earthquake?
Len [333]

Answer:

Explanation: 13

8 0
3 years ago
Read 2 more answers
A friend of yours started her own dog walking business. At first she only had a couple customers, and she used Word to create al
GaryK [48]
Hire more people to help type her documents, or make Batch invoices
4 0
3 years ago
To copy and paste the image in MS Word the dash option is used​
Stells [14]

<em>ur</em><em> </em><em>answer</em><em> </em><em>hope</em><em> </em><em>this</em><em> </em><em>will</em><em> </em><em>helps</em><em> </em><em>u</em><em /><em /><em /><em /><em />

5 0
3 years ago
Other questions:
  • Encryption is the process of:
    12·1 answer
  • ________ computers are specially designed computer chips that reside inside other devices, such as a car. Select one: A. Tablet
    11·2 answers
  • Kendall receives an email stating that a leading computer company is giving away free computers, asking her to forward the email
    15·1 answer
  • (20 POINTS AND BAINLIEST)
    9·1 answer
  • What are the two types of computer keyboards and how are they different?
    6·2 answers
  • How can rows be added to a table? Check all that apply.
    15·2 answers
  • Which tab is used to insert a hyperlink onto a slide?
    9·1 answer
  • What is the main difference between project tasks and client support tickets?
    11·1 answer
  • Send me the answers<br>​
    15·1 answer
  • Anyone trying to play fortnite ? im bored lol
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!