Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #define PI 3.1415
- int main()
- {
- float r;
- float P = 0, L = 0;
- printf("Vnesete go radiusot na krugot : ");
- scanf("%f", &r);
- L = 2 * r * PI;
- P = r * r * PI;
- printf("P=%f\n", P);
- printf("L=%f\n", L);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment