Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #define FRACTION 4.0f/3.0f
- #define PI 3.14
- int main(void)
- {
- float radius, volum, ferdig;
- printf("Skriv inn radius: ");
- scanf("%f", &radius);
- volum=FRACTION * PI * radius * radius * radius;
- printf("Volum: %f\n" volum);
- return 0;
- }
Add Comment
Please, Sign In to add comment