Thursday, July 29, 2021

C++ Program to find Area of Circle

C++ Program to find Area of Circle

#include<iostream.h>

#include<conio.h>

void main()

{

 float r,a;

 clrscr();

 cout<<"\n Enter Radius : ";

 cin>>r;

   a=3.14*r*r;

 cout<<"\n Radius = "<<r;

 cout<<"\n Area of Circle = "<<a;

 getch();

}

 

No comments:

Post a Comment

Programmingway@Eklavya Technosys!: Class 9 A or B | Computer | 100 Questions

Programmingway@Eklavya Technosys!: Class 9 A or B | Computer | 100 Questions :  1) Communication comes from the ________ language word.  Ans...