General Discussion Off-Topic Discussion and Enlightenment

NEED HELP! ANY ONE KNOW JAVA?

Thread Tools
 
Search this Thread
 
Old Oct 25, 2006 | 03:19 PM
  #41  
jinxy's Avatar
0.0 BAR
 
Joined: Feb 2005
Posts: 0
Default Re: NEED HELP! ANY ONE KNOW JAVA?

Originally Posted by random-strike
that sounds pretty cool.

sucks when aim service is blocked huh

you could always use aim express :P
meebo.com is nicer than aim express, but they kept a look out on connections through 80 and 8080, if it wasn't sprint related they would come out and throw a bitch fit. they never picked up on the telnet thing though.
Old Oct 25, 2006 | 03:30 PM
  #42  
J-SMITH69's Avatar
0.0 BAR
 
Joined: Dec 2002
Posts: 0
Default Re: NEED HELP! ANY ONE KNOW JAVA?

Originally Posted by rawr
meebo.com is nicer than aim express, but they kept a look out on connections through 80 and 8080, if it wasn't sprint related they would come out and throw a bitch fit. they never picked up on the telnet thing though.
haha cool
Old Oct 26, 2006 | 02:55 PM
  #43  
95_civic_lx's Avatar
Thread Starter
1.0 BAR
 
Joined: Mar 2006
Posts: 519
Default Re: NEED HELP! ANY ONE KNOW JAVA?

if anyone cares...fixed it

import acm.program.*;
import acm.io.*;

public class Lab6 extends Program
{
public void run ()
{
IOConsole io = getConsole ();

final int LAST_KGS = 200;
final double POUNDS_PER_KG = 2.2;
int pounds = 20;


io.println("Kgs" + "\t"+ "Lbs" +"\t\t" + "Kgs" +"\t\t" + "Lbs");
for (int kgs= 1; kgs < LAST_KGS ; kgs = kgs+2 )

{

io.print(String.format("%3d\t%3.2f\t\t",kgs,kgs * POUNDS_PER_KG));

io.println(String.format("%3d\t\t%3.2f",pounds,pou nds / POUNDS_PER_KG));

pounds = pounds + 5;
}
}
}
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
con
General Discussion
16
Nov 2, 2006 09:02 PM
juli0_bustamante
General Discussion
13
Jun 28, 2006 03:10 PM
fork
General Discussion
14
Feb 4, 2006 06:58 PM
bitchasscracker
Wanted
4
Sep 5, 2005 01:15 AM




All times are GMT -5. The time now is 05:37 AM.