#include <stdio.h>
int main() {
//실습1//
/* printf("5*3/2\n");
printf("7*7*3.14\n");
prrinf("4.5*4.5*4.5\n");*/
//실습3//
/* printf("%d\n", 5+3);
printf("%d\n", 7*2-4);
printf("%d\n", 15/2); */
//실습 4//
/* printf("5+3=%d\n", 5+3);
printf("7*2-4의 결과는 %d입니다.\n", 7*2-4);
printf("15나누기 2의 결과는 %f입니다.\n", 15.0/2.0); */
printf("5단\n");
printf("%dx%d=%d\n", 5,1,5*1);
printf("%dx%d=%d\n", 5,2,5*2);
printf("%dx%d=%d\n", 5,3,5*3);
printf("%dx%d=%d\n", 5,4,5*4);
printf("%dx%d=%d\n", 5,5,5*5);
printf("%dx%d=%d\n", 5,6,5*6);
printf("%dx%d=%d\n", 5,7,5*7);
printf("%dx%d=%d\n", 5,8,5*8);
printf("%dx%d=%d\n", 5,9,5*9);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: