Monday, 23 April 2018

Find the radius of circle

Find the radius of circle
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication29
{
    class Program
    {
        static void Main(string[] args)
        {
            float r;
            Console.WriteLine("enter the radius of circle:");
            r = float.Parse(Console.ReadLine());
           double area = ((3.14) * (r*r));
            Console.Write(area);
            Console.ReadLine();
        }
    }
}
https://www.youtube.com/channel/UCKLRUr6U5OFeu7FLOpQ-FSw/videos

0 comments

Post a Comment