지정한 숫자 구구단 찍기

강kang·2024년 12월 7일

using System;

int input = Convert.ToInt32(Console.ReadLine());

for(; input <= 9; input++)
{
for(int j = 1; j <=9; j++)
{
Console.WriteLine(input + " " + j + " = " + (input j));
}
if (input <= 10)
break;
}

profile
코딩

0개의 댓글