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