U E D R , A S I H C RSS

숙제1/최경현

~cpp
#include <iostream>

using namespace std;

long convert(long celsius);

int main()
{
	long celsius;
	
	cout << " 고 Enter  : ";
	cin >> celsius;
	cout <<" "<<celsius<<"로 "<<convert(celsius)<<" 다.";

	return 0;
}

long convert(long celsius)
{
	long fahrenheit;

	fahrenheit = fahrenheit = 1.8 * celsius + 32.0;

	return fahrenheit;
}

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:30:15
Processing time 0.0066 sec