#include<stdio.h>
#include<math.h>
void main()
{
float radius,pie,volume;
pie=3.1416;
printf("Enter the radius:");
if(scanf("%f",&radius)==1)
{
volume=(4/3)*pie*pow(radius,3);
printf("The volume is :%6.2f",volume);
}
else
{
printf("error ,enter correct value");
}
}
==================================OUTPUT==================================
Enter the radius :2.13
The volume is :30.36