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;

14th Jul 2021, 3:50 PM
Solomon Fiaku
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.
14th Jul 2021, 4:29 PM
minirkk
minirkk - avatar
+ 1
Martin taylor m, i mean volumn rather not column
14th Jul 2021, 6:11 PM
Solomon Fiaku