머가 틀린건지...
희1미햬
2023.04.01
1 * 1 = 1 2 * 1 = 2 3 * 1 = 3
1 * 2 = 2 2 * 2 = 4 3 * 3 = 9
4 * 1 = 4 5 * 1 = 5 6 * 1 =6
4 * 2 = 8 5 * 2 =10 6 * 2 = 12어떻게 작성 하나요??
저는 이렇게 햇는데..ㅠ.ㅠ 전혀 다르네요
#include stdio.h
int main()
{
int mul= 1;
int x, y;
for(x=1; x7; x++)
{
for(y=1; y3; y++)
{
mul = x*y;
printf(%d * %d = %d \n, x, y, mul);
}
printf(\n);
}
return 0;
}
머가 잘못된걸까요 ㅠ.ㅠ???????/
-
맨삶이
감사해요~^^ ㅎㅎ 이제 좀 알것같아요 ㅎㅎ