#include <stdio.h>

float cf(float a)
{
    int y;
    y=(a*1.8)+32;
    return y;
}

float fc(float b)
{
    int x;
    x=(b-32)/1.8;
    return x;
}

int main() {
    float t;
    scanf("%f", &t);
    printf("섭씨:%.10g 화씨:%.10g\n", t, cf(t));
    printf("섭씨:%.10g 화씨:%.10g\n", fc(t), t);
    return 0;
}

Embed on website

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