U E D R , A S I H C RSS

05학번만의C++Study/숙제제출1/최경현

~cpp
#include <iostream> 

float convert(float celsius); 

int main() 
{ 
    float celsius; 
     
    std::cout << "   Enter 키  : "; 
    std::cin >> celsius; 
    std::cout <<" "<<celsius<<" "<<convert(celsius)<<" ."; 

    return 0; 
} 

float convert(float celsius) 
{ 
    float fahrenheit; 

    fahrenheit = 1.8 * celsius + 32.0; 

    return fahrenheit; 
} 
----
convert 함 long float double . ? -
.~ ~~ ~
----
05학C++Study/
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:22:04
Processing time 0.0074 sec