Advertisement
aiNayan

2 (ii)

Oct 19th, 2020 (edited)
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include <stdio.h>
  2. int main()
  3. {
  4.     float n;
  5.     scanf("%f", &n);
  6.     printf("%.3f\n", 3.1416 * n * n);
  7.     printf("%.3f", 2 * 3.1416 * n);
  8.     return 0;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement