#include <stdio.h>
#include <stdlib.h>

double get_bigger(double x, double y);

int main()
{
    double a, b, big = 0;

    printf("실수를 입력하시오: ");
    scanf("%lf", &a);
    printf("실수를 입력하시오: ");
    scanf("%lf", &b);

    big = get_bigger(a, b);
    printf("더 큰수는 %f 입니다.", big);
    return 0;
}
double get_bigger(double x, double y)
{
    double big = x;
    if (big < y)
    {
        big = y;
    }
    return big;
}

Embed on website

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