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
public class MultiplicationTable { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) { | |
// TODO Auto-generated method stub | |
System.out.println("Таблица умножения\n"); | |
for(int i = 1; i < 10; i++){ | |
for(int k = 1; k < 10; k++){ | |
System.out.println(i + " * " + k + " = " + i * k); | |
} | |
System.out.println("----------"); | |
} | |
} | |
} |
Комментариев нет:
Отправить комментарий