Skip to content

Instantly share code, notes, and snippets.

@panser
Created November 24, 2013 08:48
Show Gist options
  • Save panser/7624950 to your computer and use it in GitHub Desktop.
Save panser/7624950 to your computer and use it in GitHub Desktop.
level03.lesson06.task02
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