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