0
Need help with this
Given the sphereRaduis, compute the column of a sphere with the result. Use( 4.0 / 3.0) to perform floating point division, instead of ( 4 / 3) which performs integer division #include <iostream> #include <iomanip> #include <cmath > Using namespace std; Int main () { double sphereVolumn; double sphereRadius; Cin >> sphereRadius; /* your solution goes here *\ Cout << fixed << setprecision(2) << spherVolumn << endl; Return 0;
3 Réponses
+ 1
Just copy pasting the codes on your question description makes it very difficult to debug. A proper code format linked here would have been appreciated.
+ 1
Martin taylor m, i mean volumn rather not column