Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- setlocale(0, "");
- const float PI = 3.1415926535;
- float r = 0;
- printf("Введiть r: ");
- scanf("%f", &r);
- float c = 2 * PI * r;
- float s = PI * pow(r, 2);
- float v = PI * pow(r, 3);
- printf("\nДовжина кола: %f", c);
- printf("\nПлоща кола: %f", s);
- printf("\nОб'єм кулi: %f", v);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment