Files

17 lines
458 B
Java
Raw Permalink Normal View History

2017-02-12 00:31:12 -08:00
// Author: Rodney Shaghoulian
2018-07-27 16:45:56 -07:00
// Github: github.com/RodneyShag
// HackerRank: hackerrank.com/RodneyShag
2017-02-12 00:31:12 -08:00
2017-02-07 01:14:49 -08:00
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int multiplier = scan.nextInt();
2017-02-09 02:12:38 -08:00
scan.close();
2017-02-07 01:14:49 -08:00
for (int i = 1; i <= 10; i++) {
System.out.format("%d x %d = %d%n", multiplier, i , i * multiplier);
}
}
}