Advertisement
Josif_tepe

Untitled

Oct 20th, 2021
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     double R, PI = 3.1415;
  5.     scanf("%lf", &R);
  6.     double L = 2 *  R * PI;
  7.     double P = R * R * PI;
  8.     printf("%lf %lf", L, P);
  9.     return 0;
  10. }
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement