/* Tanzila Islam Southeast University mail : tanzilamohita@gmail.com Problem Link: https://www.urionlinejudge.com.br/judge/en/problems/view/1011 */ #include<iostream> #include<iomanip> using namespace std; int main(){ int r; double x; double pi = 3.14159; cin >> r; x= (4/3.0)*pi*r*r*r; cout << fixed << setprecision(3) << "VOLUME = " << x << endl; return 0; }
No comments:
Post a Comment