ASSIGNMENT 3: LOOPS - call your function many times:
public class MyJavaProject {
public static void main(String[] args) {
for (int u = 0; u < 10; u++)
// 0 < 10 (true); 0 + 1 = 2 (printed); and so on until value offs.
{
System.out.println(u);
}
}
}
public class MyJavaProject {
public static void main(String[] args) {
for (int u = 0; u < 10; u++)
// 0 < 10 (true); 0 + 1 = 2 (printed); and so on until value offs.
{
System.out.println(u);
}
}
}
No comments:
Post a Comment