#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);
    printf("입력받은 값=%d,%d\n",a,b); */

    //실습7//
   /* float a;
    scanf("%f",&a);
    printf("입력받은 값=%f\n",a); */

    //실습8//
    double x,y;
    scanf("%1f%1f",&x,&y);
    printf("입력값=%.21f,%.21ff\n",x,y);

    
    
    
    
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: