问题标题: 酷町堂:1126

0
0
已解决
孔小川
孔小川
初级光能
初级光能

#include<iostream>
#include<cstdio>
using namespace std;
int main(){
    double c,f=9.0*c/5.0+32.0 ;
    cin>>c;
    printf("%.2f",f);
    return 0;

 

哪错了?

 


0
已采纳
李奕歌
李奕歌
初级天翼
初级天翼
#include<bits/stdc++.h>
using namespace std;
int main(){ 
    double c,f;
    cin>>c;
    f=9*c/5+32;
    printf("%.2f",f);
    return 0;
}

 

0
杜承俊
杜承俊
资深守护
资深守护
  • #include<bits/stdc++.h> using namespace std; int main(){ double c,f; cin>>c; f=9.0*c/5.0+32.0; printf("%0.2f",f); }
0
杜承俊
杜承俊
资深守护
资深守护
  • #include<bits/stdc++.h> using namespace std; int main(){ double c,f; cin>>c; f=9.0*c/5.0+32.0; printf("%0.2f",f); }
0
0
0
0
0
0
汪一言
汪一言
高级守护
高级守护
  • #include<iostream>
    #include<cstdio>
    using namespace std;
    int main()
    {
    double c;
    cin>>c;
    printf("%.2f",9*c/5+32);
    return 0;
    }
    • 我冒着禁言危险把整段代码发来了,求采纳,谢谢!
我要回答