Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- double R,pi,VOLUME;
- scanf("%lf",&R);
- pi=3.14159;
- VOLUME=(((double)4/3)*pi*R*R*R);
- printf("VOLUME = %.3lf\n",VOLUME);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement