Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Help with Java

Name: Anonymous 2009-02-04 19:07

I need basic help to try to display the final line. i have tried

System.out.print("The airplane can fly for " + flightMinutes + " minutes");

but it displays only in minutes (ex. 96min). i need it to display it as: 1 hour(s) and 36 minute(s)

Enter the number of pounds of fuel onboard: 45
Enter the number of pounds of fuel added: 180
Enter the number of pounds of fuel needed for takeoff: 20
Enter the number of pounds of fuel needed for landing: 12
Enter the number of pounds of fuel burned per minute: 2

The airplane can fly for 1 hour(s) and 36 minute(s)

Name: Anonymous 2009-02-09 23:50

>>14
that is the gayest >>14 evar

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List