#include <stdio.h>

int main() 
{
    int dan=0,  num=1;//초기화 식
    printf("몇 단? \n");
    scanf("%d", &dan);

    while(num<10)//조건식
    { 
        printf("%d*%d=%d\n", dan, num, dan*num);
        num++;//증가, 감소 식
    }
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: