NEED HELP! ANY ONE KNOW JAVA?
#41
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
sucks when aim service is blocked huh
you could always use aim express :P
#42
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.
#43
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;
}
}
}
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;
}
}
}
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