#include <stdio.h>

int main() {
    int a;
    float b;
    char c;
    int d;

    scanf("%d", &a);
    printf("당신이 입력한 정수는 %d입니다\n",a);

    scanf("%f", &b);
    printf("당신이 입력한 실수는 %f입니다\n",b);

    scanf("%c", &c);
    printf("당신이 입력한 문자는 %c입니다\n",c);

    scanf("%d", &d);
    printf("당신이 입력한 두번째 정수는 %d입니다\n",d);

    if (a > d) {
        printf("첫번째 정수인 %d가 두번째 정수인 %d보다 큽니다\n", a, d);
    } else {
        printf("첫번째 정수인 %d가 두번째 정수인 %d보다 작거나 같습니다\n", a, d);
    }
    return 0;
}

Embed on website

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