Created
January 11, 2017 22:24
-
-
Save User0111/9efd83ab7876436506dd32954809ab06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.company; | |
public class Main { | |
public static void main(String args[]) { | |
int i, j, a = 0; | |
for (i = 1; i < 10; i++) { | |
for (j = 1; j < 10; j++) { | |
a = i * j; | |
if (i < j) { | |
System.out.print(" # "); | |
} else System.out.print(a + " ");} | |
System.out.println(); | |
} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment