0
How to print table of 5 using for loop?
2 Answers
+ 18
for (int stp = 0; stp <= 10; stp++) {
System.out.println(stp*5);
}
+ 2
This is hopefully idiomatic Java 8 and will make you look things up and learn more.
Here: https://code.sololearn.com/c14usSennsfL/#java