General Discussion Off-Topic Discussion and Enlightenment

NEED HELP! ANY ONE KNOW JAVA?

Thread Tools
 
Search this Thread
 
Old 10-25-2006, 03:19 PM
  #41  
0.0 BAR
 
jinxy's Avatar
 
Join Date: 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.
jinxy is offline  
Old 10-25-2006, 03:30 PM
  #42  
0.0 BAR
 
J-SMITH69's Avatar
 
Join Date: 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
J-SMITH69 is offline  
Old 10-26-2006, 02:55 PM
  #43  
1.0 BAR
Thread Starter
 
95_civic_lx's Avatar
 
Join Date: 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;
}
}
}
95_civic_lx is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
con
General Discussion
16
11-02-2006 09:02 PM
juli0_bustamante
General Discussion
13
06-28-2006 03:10 PM
fork
General Discussion
14
02-04-2006 06:58 PM
bitchasscracker
Wanted
4
09-05-2005 01:15 AM



Quick Reply: NEED HELP! ANY ONE KNOW JAVA?



All times are GMT -5. The time now is 05:23 PM.