// #include <iostream>
#include <cmath>
using namespace std;
// variable
float r, v;
// input
cout << "To find the volume of a sphere enter the radius: ";
cin >> r;
// formula
v = (4 / 3)*3.14*(pow(r, 3));
// output
cout << "The volume of the sphere is: " << v << endl;
system("pause");
return 0;
ok here is my code, I am trying to find the volume of a sphere but when I divide the 4/3 divides into 1 not 1.3333333 and its not giving me the correct answer can someone please explain to me, try to not give me the answer just an explanation so I can figure it out on my own