c++

 1 #include<iostream>
 2 using namespace std;
 3 float transport(float C)
 4 {
 5     float F;
 6     F=9*C/5.0+32;
 7     return F;
 8 }
 9 int main()
10 {
11     float C,F;
12     cin>>C;
13     F=transport(C);
14     cout<<F<<endl;
15     return 0;
16 }

 

posted on 2013-12-26 16:24  了发发  阅读(207)  评论(0)    收藏  举报

导航