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
SpyIntel [72]
3 years ago
6

Write a program in Python that reads in investment amount, annual interest rate, and number of years, and displays the future in

vestment value using the following formula:and displays the future investment value using the following formula:futureInvestmentValue = investmentAmount * (1 + monthlyInterestRate)numberOfYears*12
Computers and Technology
1 answer:
pickupchik [31]3 years ago
4 0

Answer:

investmentAmount = float(input("enter the investment amount: "))

annualInterestRate = float(input("enter the Annual Interest Rate: "))

numYears = int(input("Enter NUmber of Years: "))

monthlyInterestRate = annualInterestRate/12

futureInvestmentValue = investmentAmount * (1 + monthlyInterestRate)*(numYears*12)

print("The Future Investment Value is: ")

print(futureInvestmentValue)

Explanation:

Using python programming language as required, we use the input function to prompt user for inputs for each of the variables.

There is a conversion from the variable annualInterestRate  to monthlyInterestRate before the formula for the futureInvestmentValue is applied

You might be interested in
Enter the name of your school or work URL and generate report.What score did it receive?
natta225 [31]

Answer:

Harold Washington College. 21.1

4 0
3 years ago
A _____ provides a file-system interface which allows clients to create and modify files.
stiv31 [10]
The correct answer is a file-server system. Hope this helps!
3 0
4 years ago
Our tests will run your program with input 2, then run again with input 5. Your program should work for any input, though.
Dahasolnce [82]

Answer:

In Python:

numDays = int(input("Days: "))

print("Number of days: "+str(numDays)+"\n")

Explanation:

The program was written in Python and the explanation is as follows;

First, get the input for the number of days from the user

<em>numDays = int(input("Days: "))</em>

Next, print string "Number of days: " followed by the number input from the user and then newline

<em>print("Number of days: "+str(numDays)+"\n")</em>

<em>The character \n represents new line</em>

5 0
3 years ago
4) What is a desktop?​
DaniilM [7]
A desktop computer is a personal computer designed for regular use at a single location on or near a desk due to its size and power requirements.
3 0
1 year ago
Select all that apply.
Leto [7]
You may do all of the given options.
Thank You!
8 0
4 years ago
Other questions:
  • 1. Why is it important to evaluate the website on which you plan to shop? (1 point)
    7·2 answers
  • When your Windows XP file becomes too large to fit in a single window, which of these components allows you to bring different p
    6·1 answer
  • You can advance slides during a slideshow by pressing the page down key
    7·1 answer
  • The Maui coffee shop sells coffee at $10.50 a pound plus the cost of shipping. Each order ships for $0.86 per pound + $1.50 fixe
    14·1 answer
  • How do i end my current plan that i never signed up for, the basic one it charged me $24
    11·2 answers
  • What are the two main parts of system unit hardware?
    8·1 answer
  • Which of the following is not a key component of a structure?
    6·1 answer
  • WOULD SOMEONE PLEASE ANSWER THIS IVE ASKED TWICE ALREADY!
    6·1 answer
  • which two functions are performed at the llc sublayer of the osi data link layer to facilitate ethernet communication? (choose t
    13·1 answer
  • The ____ statement can be used to eliminate the use of certain (flag) variables.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!