Advertisement
tribalquest1

GettingIndividualDigits.java

Dec 9th, 2015
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. public class GettingIndividualDigits {
  2. public static void main(String[] args) {
  3. for (int i = 0; i < 10; i++) {
  4. for (int j = 0; j < 10; j++) {
  5. System.out.println(i+""+j + ", " + i + "+" + j + " = " + (i+j));
  6. }
  7. }
  8. System.out.println();
  9. }
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement