top1编程
← 返回题目
题解

【入门】买水果

1 条题解

  • 0
    @ 2026-7-28 22:09:40
    #include <iostream>
    #include <iomanip>
    using namespace std;
    
    int main(){
    	double x,y,z;
    	cin>>x>>y>>z;
    	cout<<fixed<<setprecision(1)<<8.5*x+5.6*y+6.2*z;
    }
    
    • 1