I don't think I can use the scanner class.....we haven't covered that in school yet...this is what I have for code so far
Code:
package assignment2;
/**
* <p>Title: Assignment 2</p>
* <p>Description: CS 161 Assignment 2 </p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: UW-River Falls</p>
* @author Eric Merker
* @email ericmerker@centurytel.net
* @date October 4th 2004
* @team prometheusfree.org crew and the tfproject.org crew
* @version 1.0
*/
import java.math.*;
import java.text.*;
import java.util.*;
public class Assignment2 {
public Assignment2() {
}
public static void main(String[] args) {
Assignment2 assignment21 = new Assignment2();
denominator = ( 1 - R/100);
numerator = p*(1-(math.pow(R/100, n+1)))
total = numerator / denominator;
}
}
I have the following error also ';' expected at line 27 27:41
I'm getting closer....damn this is a tough one...