Skip to content

Instantly share code, notes, and snippets.

@kryvoboker
Created May 8, 2020 20:42
Show Gist options
  • Save kryvoboker/29dca3b562dab49c82f5639966297e21 to your computer and use it in GitHub Desktop.
Save kryvoboker/29dca3b562dab49c82f5639966297e21 to your computer and use it in GitHub Desktop.
HomeWork4
public class Main {
public static void main(String [] args) {
int a = 10;
int b = 5;
int n = 0;
for (int i = 1; i <= a; i++) {
n = i * b;
System.out.println(i + " * " + b + " = " + n);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment