eolymp
bolt
Try our new interface for solving problems
Problems

Sum and product of real numbers

published at 11/30/20, 1:53:30 pm

Why i'm only 70 percent

published at 4/27/22, 5:01:06 pm

include <iostream>

using namespace std; int main() { double x,y,z; cin>>x>>y>>z; cout.precision(4); cout<<fixed<<x+y+z<<" "<<xyz; }

published at 7/27/22, 11:39:26 pm

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; }

published at 9/30/22, 7:00:32 pm

i have 0 persent. I do it on Pyton

published at 12/23/22, 12:33:23 pm
q,w,e=map(float, input().split())
print(q+w+e,q*w*e)
published at 4/26/23, 2:47:15 pm

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; }

published at 9/26/23, 3:56:06 pm

include <iostream>

using namespace std; int main() { double x,y,z;

cin>>x>>y>>z;

cout.precision(4);

cout<<fixed<<x+y+z<<" "<<xyz;

}

published at 10/7/23, 6:22:49 pm

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; }