#include <stdio.h>
int main() {
//실습5//
/*int box;
scanf("%d",&box);
printf("입력받은 값=%d\n",box);*/
//실습6//
/*int a, b;
scanf("%d",&a);
scanf("%d",&b);
printf("입력받은 값=%d, %d\n",a, b);*/
//실습7//
/*double a;
scanf("%lf", &a);
printf("입력받은 값=%lf\n", a);*/
//실습8//
double x, y;
scanf("%lf%lf", &x, &y);
printf("입력값= %.2lf, %.2lf\n",x, y);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: