Question: Lab 3 Exercise - Financial applications: compute future investment values - Write a program that computes the future investment values at a given annual interest


Lab 3 Exercise - Financial applications: compute future investment values - Write a program that computes the future investment values at a given annual interest rate, compounded annually for 10 years. The future investment is determined using the formula: futurelnvestmentValue = investmentAmount * (1+InterestRate)numberofyears - Your program will prompt the user to enter the investment amount and annual interest rate (e.g. 9 for 9%), save the future values from year 1 to 10 to an output file named as "future.txt". - Read "future.txt" and print all the future values for 10 years as a table onto the console. Include any error handling if possible. Lab 3 Exercise (To be submitted to the UMMoodle before the due time) - Samnle nutnut. Lab 3 Exercise - You also should have a "future.txt" file in the current directory inside your project, like this: Lab 3 Exercise - Bonus Part Allowing the user to input the number of years for calculation of future values and output them. Lab 3 Exercise - Financial applications: compute future investment values - Write a program that computes the future investment values at a given annual interest rate, compounded annually for 10 years. The future investment is determined using the formula: futurelnvestmentValue = investmentAmount * (1+InterestRate)numberofyears - Your program will prompt the user to enter the investment amount and annual interest rate (e.g. 9 for 9%), save the future values from year 1 to 10 to an output file named as "future.txt". - Read "future.txt" and print all the future values for 10 years as a table onto the console. Include any error handling if possible. Lab 3 Exercise (To be submitted to the UMMoodle before the due time) - Samnle nutnut. Lab 3 Exercise - You also should have a "future.txt" file in the current directory inside your project, like this: Lab 3 Exercise - Bonus Part Allowing the user to input the number of years for calculation of future values and output them
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
