package Lecture4; public class Counter { public static void main(String[] args) { int i= 0; double c= 0.0; while (c!= 10.0 && i < 52) { c += 0.2; i++; if ( i % 10 == 0 || i >= 50) System.out.println("c: " + c + " i: " + i); } } }