U E D R , A S I H C RSS

05학번만의C Study/숙제제출1/정진수

~cpp

#include <iostream.h>

double Fah; //화씨온도
double Cel; //섭씨온도

int main()
{
	Fah=0; 
	Cel=0; 

	
	cout << "섭씨 온도를 입력하고 Enter 키를 누르십시오 : ";
	cin >> Cel;

	Fah= 1.8*Cel + 32.0; //연산

	cout << "섭씨 " << Cel << "도는 화씨로 " << Fah << "도 입니다\n";

	return 0;

}
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-05-27 07:09:19
Processing time 1.6339 sec