Pounds to Kilo Conversion

Pounds to Kilo Conversion - //input double kilo = 0;

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package poundstokiloconversion; /** * * @author Manny */ public class PoundsToKiloConversion { /** * @param args the command line arguments */ public static void main(String[] args) {
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: //input double kilo = 0; System.out.println("Pounds Kilograms"); System.out.println("----------------------------------------"); for(int pound = 1; pound<= 10; pound++) { kilo = pound * .454; System.out.printf("%6d %9.3f\n", pound, kilo); } } }...
View Full Document

This note was uploaded on 12/07/2011 for the course BUS 350 taught by Professor Leighjin during the Fall '11 term at S.F. State.

Ask a homework question - tutors are online