-->

solution3


// program to get volume of sphere
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
float radius;
float volume;
printf(“enter radius of sphere\n”);
scanf(“%f”,&radius);
volume=4.0*3.14*(pow(r,3))/3.0;   // the pow() function exits inside "math.h"
printf(“the volume is=%f\n”,volume);
getch();
}

you did not understand how it works! follow the “C” learning part/section (coming soon).