Oct 21, 2014
I completed this program, everything looks fine as far as calculation and stuff, but the only problem I see is that when the program wants to print the final calculation the formatting is off a little. I will add the ending result at the end of the program.
import java.util.*;
import java.text.*;
public class FutureValueApp
{
public static void main(String[] args) {
[Code] ....
Result :
Future Value Calculation
Inv/Mo.RateYearsFuture Value
[$100.00, 2.0%, 2, $2,450.64]
[$100.00, 2.0%, 2, $2,450.64]
[$100.00, 2.0%, 2, $2,450.64]
[$100.00, 2.0%, 2, $2,450.64]
Also when we have 3 different users putting their information, I get this
Future Value Calculation
Inv/Mo.RateYearsFuture Value
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
[$100.00, 2.0%, 2, $2,450.64, $100.00, 2.0%, 3, $3,713.19, $200.00, 2.0%, 3, $7,426.38]
View Replies
View Related