Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void multiplicationTable() {
- for(int i=1; i<=10; i++) {
- for(int k=1; k<=10; k++) {
- System.out.print((i*k));
- if( k<10 ) {
- System.out.print("\t");
- }
- }
- if( i<10 ) {
- System.out.print("\n");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement