HomemadeTurbo - DIY Turbo Forum

HomemadeTurbo - DIY Turbo Forum (https://www.homemadeturbo.com/)
-   General Discussion (https://www.homemadeturbo.com/general-discussion-6/)
-   -   NEED HELP! ANY ONE KNOW JAVA? (https://www.homemadeturbo.com/general-discussion-6/need-help-any-one-know-java-68947/)

jinxy Oct 25, 2006 03:19 PM

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.

J-SMITH69 Oct 25, 2006 03:30 PM

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

95_civic_lx Oct 26, 2006 02:55 PM

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;
}
}
}


All times are GMT -5. The time now is 08:54 AM.


© 2026 MH Sub I, LLC dba Internet Brands