Advertisement
Guest User

1011

a guest
Oct 14th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     double R,pi,VOLUME;
  5.     scanf("%lf",&R);
  6.     pi=3.14159;
  7.     VOLUME=(((double)4/3)*pi*R*R*R);
  8.     printf("VOLUME = %.3lf\n",VOLUME);
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement