Problems
Sum and product of real numbers
Why i'm only 70 percent
include <iostream>
using namespace std; int main() { double x,y,z; cin>>x>>y>>z; cout.precision(4); cout<<fixed<<x+y+z<<" "<<xyz; }
include<bits/stdc++.h>
using namespace std; int main(){ long double x,y,z; cin>>x>>y>>z; cout<<setprecision(4)<<fixed<<x+y+z<<" "<<xyz; }
i have 0 persent. I do it on Pyton
q,w,e=map(float, input().split())
print(q+w+e,q*w*e)
include<bits/stdc++.h>
using namespace std; int main(){ long double x,y,z; cin>>x>>y>>z; cout<<setprecision(4)<<fixed<<x+y+z<<" "<<x<<y<<z; }
include <iostream>
using namespace std; int main() { double x,y,z;
cin>>x>>y>>z;
cout.precision(4);
cout<<fixed<<x+y+z<<" "<<xyz;
}
include <bits/stdc++.h>
using namespace std;
int main(){ double x , y , z; cin >> x >> y >> z; cout.precision(4); cout << fixed << x + y + z << ' ' << x * y * z; }