while(++i<5)f*=i;System.out.println(f); code example Example: while(++i<5)f*=i;System.out.println(f); while(++i<5) f*=i; System.out.println(f);