Write a program to calculate formulae πr2 in c sharp RRS feed


  • Hi jskrishna,

    Is it a homework?

    using System;
    public class Program
        public static void Main()
            double r = double.Parse(Console.ReadLine());
            Console.WriteLine("The area of circle is: {0:F2}", Math.PI * r * r);

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, May 17, 2016 6:41 AM