Advertisement
Avdluna

URI 1011

May 17th, 2015
247
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.  
  3. int main() {
  4.  
  5.    double raio,x;
  6.    
  7.    scanf("%lf", &raio);
  8.    
  9.    x = 4/3.0*3.14159*raio*raio*raio;
  10.    
  11.    printf("VOLUME = %.3lf\n",x);
  12.  
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement