/* Java version of code in Lecture 3 * * What is this code 'meant' to do? * What does this code 'actually' do? * * Remember Control-C is your friend. * * * Compile: javac Float1.java * * Run: java Float1 */ public class Float1 { public static void main(String [] args) { for (float x = 0; x != 1.0; x+= 0.1) { System.out.println(x); } } }