View Single Post
Old 10-06-2004, 07:53 PM   #5 (permalink)
merkerguitars
Buffering.........
 
merkerguitars's Avatar
 
Location: Wisconsin...
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...
__________________
Donate now! Ask me How!

Please use the search function it is your friend.

Look at my mustang please feel free to comment!

http://www.tfproject.org/tfp/showthread.php?t=26985
merkerguitars is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73