0

Area of any circle

Posted by ေမၿမဳိ့သား on 12:31 PM in
#include "stdafx.h"
#include<iostream>
#include<conio.h>
#include<stdlib.h>
using namespace std;
void main()
{
    float p=3.1415,area;
    int r;
    cout<<endl<<endl;
    cout<<"Enter your radius....";
    cin>>r;
    cout<<"\n\n";
    area=p*r*r;
cout<<"That is my circle area..."<<area;
getch(); //  getch --> so yin header file mar #include<connio.h> hte`

}

0 Comments

Post a Comment

Copyright © 2009 ~ ♥ ရည္ညႊန္းရာ ♥ ~ All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive.