Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace CircleArea
- {
- class Program
- {
- static void Main()
- {
- double r = double.Parse(Console.ReadLine());
- Console.WriteLine($"{Math.PI * r * r:F2}");
- Console.WriteLine($"{2 * Math.PI * r:F2}");
- }
- }
- }
Add Comment
Please, Sign In to add comment