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
What is the difference between a learner’s license and an operator’s license?
Allushta [10]
A learner's license does not allow the person to drive without someone else who has their operator's (or driver's license) or an adult who is at least 21. Although this varies depending on the state. 
7 0
3 years ago
Given a list of integers. find the size of the list
dlinn [17]

The size of a list of integers can be found using python as follows;

size = len(list1)

<h3>How to find the size of a list using python?</h3>

The size of a list can be found using the len() function in python.

According to the question, the list is an integer.

Therefore, let's use an example below:

list1 = [1, 2, 1, 3, 6, 7, 8, 9, 4, 7, 8, 6, 4]

size = len(list1)

print(size)

Therefore,  the size of a list of integers can be found using the len() function in python.

learn more on python here: brainly.com/question/14989942

#SPJ1

6 0
2 years ago
Is doing free lancing from age 16 good or bad?​
Art [367]

Answer:

I think it's good. It will serve as an experience for you. Having experience at an early age is better as you could be at your best before you go into the field that you want. Plus free lancing wouldnt tie you down, gives you more freedom. And extra income(?). ^^

8 0
3 years ago
The spellchecker can be found in which two locations in most wordprocessing software?
bogdanovich [222]
Editing tab or in the same section as the find comand
8 0
4 years ago
Write a method __repr__(self) that returns a string representing an AIPlayer object. This method will override/replace the __rep
STatiana [176]

Answer:

def __repr__(self):

   s = '' "

   for row in range(self.height):

       s += '|'

       for column in range(self.width):

           s += self.slots[row][column] + '|'  + '\n'  + (2*self.width +1)*'-'  + '\n' + ' '+str(column%10)

   return s

Explanation:

The __repr__(self) method in python's object-oriented programming is a magic method used to print an output that represent the object instance of a class.

8 0
3 years ago
Other questions:
  • Hen pointing to a tool on the ribbon, a ______ appears, displaying information about the tool.
    7·1 answer
  • ________is one color shade gradually progressing to another shade of the same color or one color progressing to another color.
    14·1 answer
  • Maya enjoys connectedWith her friends and social media apps but one of her friends post a lot of stuff that my thinks it’s annoy
    14·1 answer
  • All network operating systems today use the ____ protocol suite for internet communication.
    14·1 answer
  • One example of how psychological research can be used to control harmful behavior would be __________. A. fooling individuals th
    13·2 answers
  • Technology can help governments handle economic emergencies, such as the reliance on automation. Crop and resource shortages. Th
    15·2 answers
  • You want to figure out how much your next paycheck will be. You worked 80 hours and you make $12.50 per hour. You enter the numb
    15·1 answer
  • Now suppose that the file is broken into 5 packets, each of 10 Mbits. Ignore headers that may be added to these packets. Also ig
    14·1 answer
  • What is a type of local network that people can use to access the<br> Internet?
    8·1 answer
  • What methods do you use when researching a complicated or difficult subject? What tools are most useful to narrowing down and va
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!