Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Task 006, Chapter 2.0
- using System;
- public class CircleAreaAndPerimeter
- {
- static void Main()
- {
- double r = double.Parse(Console.ReadLine());
- Console.WriteLine("Area = " + Math.PI * r * r);
- Console.WriteLine("Perimeter = " + 2 * Math.PI * r);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment