Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- double R, PI = 3.1415;
- scanf("%lf", &R);
- double L = 2 * R * PI;
- double P = R * R * PI;
- printf("%lf %lf", L, P);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement