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