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.0064 sec