#include <stdio.h>
int main()
{
int cur=2;
int is=0;
while(cur<10) //2단 부터 9단 까지 반복
{
is=1; //새로운 단의 시작을 위해서
while(is<10) //각 단의 1부터 9의 곱을 표현
{
printf("%d*%d=%d \n", cur, is, cur*is);
is++;
}
cur++;//다음 단으로 넘어가기 위한 증가
}
cur = 2
is = 1-9
cur=3
is = 1-9
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: