> Can you please help me how to return spherevolume to main? please.
How about making it return something?

> void spherevolume (float a);
Like say
float spherevolume (float a);

Then...