#36 (C) for4.c
2022. 9. 23. 06:25ㆍC
#include <stdio.h>
int main()
{
int n;
int i;
printf("Enter the number: ");
scanf("%d", &n);
for(i=1; i<=9; i++)
{
printf("%d x %d = %d\n", n, i, n*i);
}
return 0;
}
'C' 카테고리의 다른 글
#35 (C) for3.c (0) | 2022.09.23 |
---|---|
#34 (C) for2.c (0) | 2022.09.23 |
#33 (C) for1.c (0) | 2022.09.23 |
#32 (C) while6.c (0) | 2022.09.21 |
#31 (C) while5.c (0) | 2022.09.21 |