1
Student Name: __________________
Class and Section __________________
Total Points (15 pts) __________________
Due: November 9, 2016 before the class
Project: Computing Future Investment Value
CSCI 1301 Introduction to Programming Principles
Armstrong Atlantic State University
Problem Description:
Write a method that computes future investment value at a
given interest rate for a specified number of years. The
future investment is determined using the following
formula:
futureInvestmentValue =
investmentAmount x (1 + monthlyInterestRate)numberOfYears*12
Use the following method header:
public static double futureInvestmentValue(
double investmentAmount, double monthlyInterestRate, int years)
Analysis:
(Describe the problem including input and output in your own words.)
2
Design:
(Describe the major steps for solving the problem.)
Submit the following items:
1. Print this Word file and Submit to me before the class on the due day
2. Compile, Run, and Submit to LiveLab (you must submit the program regardless
whether it complete or incomplete, correct or incorrect)
3
Solution Code:
public class Test {
public static void main(String[] args) {
java.util.Scanner input = new java.util.Scanner(System.in);