Find area of circle in C++

Google Advertisements

Prev Tutorial Next Tutorial

Find Area of Circle Program in C++

In C++ programming you can easily write any program, for print message on screen use cout<<" " and for receive input use cin>>. For calculate area of circle you need radius of circle and apply below formula;

c++ program to find area of circle

Formula

area of circle = 3.14*(radius*radius);

program to find area of circle

#include<iostream.h>
#include<conio.h>

void main()
{
int radius;
float area_circle=0;
clrscr();
cout<<"Enter radius of circle: ";
cin>>radius;
area_circle=3.14*(radius*radius);
cout<<"Arial of circle: "<<area_circle;
getch();
}

Output

Enter radius of circle: 5
Area of Circle: 78.5

Prev Tutorial Next Tutorial

Google Advertisements

Buy This Ad Space @$50 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 8076671483

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Cloud computing is the on demand availability of computer system resources, especially data storage and computing power, without direct active management by the user. Cloud Computing Tutorial

College Projects Related to Java, AWT, C Projects for College, C++ Projects for College, Android Projects. Download Java C C++ Projects

Download Projects

Adsense Advertisements


Buy This ads Space 8076671483

Buy This Ad Space @$120 per Month, Ad Size 300X600 Contact on: hitesh.xc@gmail.com or 8076671483 Try this Keyword C++ Programs