/* ù ¹ø° ÇÁ·Î±×·¥ÀÇ ÀÀ¿ë */#include <stdio.h>int main(void){ int dan; int n; printf("¸î´Ü ÇÒ±î¿ä? : "); scanf("%d", &dan); for (n = 1; n <= 9; n++) printf("%d*%d=%d\n", dan, n, dan*n); return 0;}
/* ù ¹ø° ÇÁ·Î±×·¥ÀÇ ÀÀ¿ë */#include <stdio.h>
int main(void){ int dan; int n;
printf("¸î´Ü ÇÒ±î¿ä? : "); scanf("%d", &dan);
for (n = 1; n <= 9; n++) printf("%d*%d=%d\n", dan, n, dan*n);
return 0;}