Advertisement
PedroSG

Untitled

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