Thread: Source Code
View Single Post
  #3 (permalink)  
Old February 7th, 2006, 10:20 AM
nappydyno234 nappydyno234 is offline
Registered User
Join Date: Feb 2006
Location: Belleville, NJ, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to nappydyno234 Send a message via Yahoo to nappydyno234

I created my program, and it looks like this:

public class power {
    public static void main(String[] args) {
     int base;
     int order;
     int p;, order);
     System.out.println("Java power" base order);
     System.out.println("Mariner Eccles");
     p = pow(base, order);

When I go to compile, it comes up with this: ')' expected
     System.out.println("Java power" base order);
1 error

I am new at this, so I dont quite understand what the error i...if anyone out there knows, I would appreciate it greatly...

Reply With Quote