Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- int main()
- {
- float vol,ray;
- printf("Entre com o valor do raio da circunferencia :\n"); scanf("%f",&ray);
- vol = (4/3)*M_PI*pow(ray,3);
- printf("Volume = %f\n",vol);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment