Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- using namespace std;
- int main()
- {
- double x,y,z ;
- cin>>x>>y>>z;
- x=(x+y+z)/3;
- cout<<fixed<<setprecision(2)<<x;
- return 0;
- }
RAW Paste Data