MENU

2021-09-16から1日間の記事一覧

【Java】九九の計算プログラム

public class Main { public static void main(String[] args) { for(int i = 1; i < 10; i++){ for(int j = 1; j < 10; j++){ System.out.print( i + "*" + j + " = " + i*j + " , "); } System.out.println(""); } } } 1*1 = 1 , 1*2 = 2 , 1*3 = 3 , 1*4 …