// File: Investment.java
// CS256 Lab 2
// Author: Gary Lee Kuhre
// Created: January 19, 2014
public class Investment
{
public static void main (String [] args)
{
double p, r, y;
double investment;
p = (5000.00);
r = (6.5);
y = (10);
Investment = p*(1+(r/100))y;
Output.showValue("Your Future Investment Value is", investment);
} // method main
} // class Investment
my error below:
----jGRASP exec: javac -g Investment.java
Investment.java:16: error: ';' expected
Investment = p*(1+(r/100))y;
^
1 error
----jGRASP wedge2: exit code for process is 1