#include<stdio.h>int main(void) { int k; int n; printf("¸î´Ü ? : "); scanf("%d", &k); printf("¾î´ÀÁ¤µµ ? :"); scanf("%d", &n); for (int i = 1; i <= n; i++) { printf("%d * %d = %d\n", k, i, k*i); }}
#include<stdio.h>
int main(void) { int k; int n; printf("¸î´Ü ? : "); scanf("%d", &k); printf("¾î´ÀÁ¤µµ ? :"); scanf("%d", &n);
for (int i = 1; i <= n; i++) { printf("%d * %d = %d\n", k, i, k*i); }}