All pastes #384238 Raw Edit

fdg

public java v1 · immutable
·published 2007-03-06 22:38 UTC
rendered paste body
/* * opdracht5punt9.java * * Created on March 6, 2007, 9:29 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. */package opdrachtH3;import javax.swing.JOptionPane ;/** * * @author gebruiker */public class opdracht5punt9 {        /** Creates a new instance of opdracht5punt9 */   public static void main(String[] args) {          for ( double i=0.0; i< 10.0; i++) {                           //     System.out.println("feet " +i + " \nmeters\t " +footTometer(+i);           System.out.println(“Met twee decimalen: ” + footTometer(foot);        }           }       public static double footTometer(double foot) {   	return (double)(foot * 0.305) ;         }      public static double meterToFoo(double meter) {        return (double)(meter / 0.305) ;                 }}