Friday, 9 May 2014

Write a program to calculate area of circle

Leave a Comment

#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
    float r,area;
    cout<< "\nEnter radius of circle : ";
    cin>>r;
    area = 3.14*r*r;
    cout<<"Area of circle : "<<area;
    getch();
getch();
}
If You Enjoyed This, Take 5 Seconds To Share It

0 Questions: