U E D R , A S I H C RSS

05학번만의C++Study/숙제제출1/조현태

?

C++


~cpp
#include<iostream>

float fahrenheit(float);

void main(){
	float celsius;
	std::cout << "   Enter 키  : ";
	std::cin >> celsius;
	std::cout << "" << celsius << " " << fahrenheit(celsius)  << ".\n"; 
}

float fahrenheit(float celsius) 
{
    return 1.8*celsius+32;
}

, C++ ~
, using namespace std; , C++ .
C++ , .. iostream .
, ? -
3 ?
, -
----
05학C++Study//1
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:22:04
Processing time 0.0177 sec