CurvedSpace Forums: Even More Java - CurvedSpace Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • {lang:pm_locked} This topic is locked

Even More Java

#1 {lang:macro__useroffline}   Mrb1 {lang:icon}

  • 2005 Mini Cooper S
  • Icon
  • Group: New Member
  • Posts: 835
  • Joined: 22-January 03

Posted 27 September 2004 - 10:19 PM

CODE
//2.33
//Date:9/27/04
//Programmer:&%%*$

public class Main {
   
   public static void main(String[] args) {
       
       System.out.println("Number  " + "Square  " + "Cube");
       System.out.println("  0     " + "  0     " + "0");
       System.out.println("  1     " + "  1     " + "1");
       System.out.println("  2     " + "  4     " + "8");
       System.out.println("  3     " + "  9     " + "27");
       System.out.println("  4     " + "  16    " + "64");
       System.out.println("  5     " + "  25    " + "125");
       System.out.println("  6     " + "  36    " + "216");
       System.out.println("  7     " + "  49    " + "343");
       System.out.println("  8     " + "  64    " + "512");
       System.out.println("  9     " + "  81    " + "729");
       System.out.println("  10    " + "  100   " + "1000");
       
       System.exit(0);
   }
   
}

user posted image

Special Quote: A brave general once said, "You tell you men your soldiers. You tell them thats our flag. You tell them no one takes our flag. Tell them to raise it hight so everyone can see it. Now you've got yourself a Castle": The Last Castle

Car of the Week. Next Change: 1/22/05
Car Specs

Year: 2006
Make: Mitsubishi
Model: Eclipse
Trim: GT
Engine: 3.8L V6, 24 valve
Horsepower: 263@5750 hp
Transmission: 6 Speed Manual
Torque: 260 lb-ft @ 4500 rpm
0-60 mph : 5.8 sec.
Redline: 6500 rpm
Top speed: Top speed : 148 mph
More Info: Here

Join Slain Designs SilverSpy's Photoshop Site.
Join xDesignSx My Photoshop tutorial site.
0

Page 1 of 1
  • You cannot start a new topic
  • {lang:pm_locked} This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users