Created
November 24, 2013 08:48
-
-
Save panser/7624950 to your computer and use it in GitHub Desktop.
level03.lesson06.task02
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.javarush.test.level03.lesson06.task02; | |
/* Таблица умножения | |
Выведи на экран надпись: таблицу умножения 10 на 10: | |
1 2 3 … | |
2 4 6 … | |
3 6 9 … | |
… | |
*/ | |
public class Solution | |
{ | |
public static void main(String[] args) | |
{ | |
System.out.println("таблицу умножения 10 на 10"); | |
Integer [] number = {1,2,3,4,5,6,7,8,9,10}; | |
for(int i : number) | |
{ | |
for (int j : number) | |
System.out.print(i * j + " "); | |
System.out.println(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment