Hi everyone, I'm currently in the process of making a program that prompts the user for two radius of two separate spheres then it calculates the sum of the two radius's. Then it takes the final sum and calculates the volume of a sphere from that sum ((4/3)pie(r)^3). I'm having trouble getting the correct calculations just using int main(). So i've been trying to use the void function to help me out but I am getting errors. I will post what I have so far and if anyone can help me in the right direction it will be much appreciated.
MiiNiPaa, you are right I had too many arguments. Looking at the code you wrote made it much more simple. I was trying to complicate things by parting out the equation. I forgot to make it 4.0/3.0 instead of 4/3.