CODE :
#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int p,t;
float r;
cout<<"Enter number of years (t): ";
cin>>t;
cout<<"Enter principal amount (p): ";
cin>>p;
cout<<"Enter rate of interest (r): ";
cin>>r;
cout<<endl;
for(int i=1;i<=t;i++)
{
float v = p * pow((1+((r/100)/12)),
(12*i));
cout<<"Year
"<<i<<" Balance = "<<v<<endl;
}
return 0;
}
OUTPUT :

please follow the instruction ( very important ) 1912275-dt content-rid 43901523 1/courses/CSct A31. (25 pts) You...
Write a program in Python that computes the interest accrued on an account. You can modify the “futval.py” program given in Chapter 2 to accomplish it. Your program should use a counted loop rather than a formula. It should prompt the user to enter the principal amount, the yearly interest rate as a decimal number, the number of compounding periods in a year, and the duration. It should display the principal value at the end of the duration. To compute...
14.Compound Interest hank account pays compound interest, it pays interest not only on the principal amount that was deposited into the account, but also on the interest that has accumulated over time. Suppose you want to deposit some money into a savings account, and let the account earn compound interest for a certain number of years. The formula for calculating the balance of the account afer a specified namber of years is The terms in the formula are A is...
USE PYTHON PROGRAMMING LANGUAGE. Compound Interest A high school economics teacher wants to demonstrate the power of compound interest to her students. She would like you to write a program so that students can input their principal amount and the interest rate they will receive and show them how their investment will grow over time. The formula to calculate the total income of an investment (compounded annually) over time is: amount = P (1 + I)<sup>Y</sup> Where: P is the...
Programming language: PYTHON Prompt: You will be creating a program to show final investment amounts from a principal using simple or compound interest. First, get a principal amount from the user. Next, ask the user if simple or compound interest should be used. If the user types in anything other than these options, ask again until a correct option is chosen. Ask the user to type in the interest rate as a percentage from 0 to 100%. Finally, ask the...
c++ and please add tables and everything and make sure program
is complete.
Write a menu driven program, which would compute compound interest and a monthly payment for a loan. The user will be given a choice to display the info on the screen or to a filo Menu will be the following Enter (1) to calculate your loan monthly payment Enter (2) to calculate your loan monthly payment & write to a file Tips: Compound Interest Formula A =...
Write an application that calculates the amount of money earned on an investment. Prompt the user to enter an investment amount, the number of years for the investment, and the interest rate. Display an error message if the user enters 0 for any of these values; otherwise, display the total amount (balance) for each year of the investment. Save the file as Investment.java. Java Program Specific instructions: Program must use 4 methods to accomplish the following: Prompt for and return...
C++ Please Follow Instructions Write a program that displays an inches to centimeters conversion table. Your input will be the smallest number of inches and the largest number of inches to be converted. The intervals will be in 6 inch increments. One inch is equivalent to 2.54 centimeters. Include the following in your program: 1. Include an initial algorithm that outlines your steps. 2. Include a refined algorithm that details how each step will be executed. 3. Prompt the User...
SOLVE USING C!!!
Project objective: Conditional statements,
loops, reading from file, user defined functions.
**Submit source code (LargeProg1.c) through
Canvas
One source code file(unformatted text) will be submitted
Here is INCOMPLETE code to get started: LargeProg1.c
The file name must match the assignment
The code should be tested and run on a Microsoft compiler
before it is uploaded onto Canvas
The code must be submitted on time in order to receive credit
(11:59PM on the due date)
Late submissions will...
Assuming there are no deposits other than the original investment, the balance in a savings account after one year may be calculated as Amount = Principal *(1 + Rate/T)^T Principal is the original investment in the savings account, Rate is the annual interest rate, and T is the number of times the interest is compounded during a year ( T is 4 if the interest is compounded quarterly). NOTE: the periodic rate r in the expression (1 + r)...
This C++ Program should be written in visual studio 2017 You are to write a program that can do two things: it will help users see how long it will take to achieve a certain investment goal given an annual investment amount and an annual rate of return; also, it will help them see how long it will take to pay off a loan given a principal amount, an annual payment amount and an annual interest rate. When the user...