소스 ¶
~cpp
#include<iostream>
using namespace std;
float tofah(float );
int main()
{
float cel; //ì„씨온ë�„
float fah; //화씨온�
cout << "ì„씨 온ë�„를 ìž…ë ¥í•˜ê³ Enter 키를 누르ì‹ì‹œì˜¤ : " ;
cin >> cel;
fah=tofah(cel);
cout << "ì„씨 " << cel << "ë�„는 화씨로 " << fah << "ë�„ 입니다." << endl;
return 0;
}
float tofah(float cel)
{
return (1.8 * cel) + 32.0;
}










