0

စက္၀ိုင္း နွစ္ခုရဲ့ ဧရိယာ ရွာေသာ ပုစၦာ

Posted by ေမၿမဳိ့သား on 12:30 PM in
#include "stdafx.h"
#include<iostream>
#include<conio.h>
#include<stdlib.h>
using namespace std;
void main()

{   
    float p=3.1415,area1,area2;
    int r,r2;
    cout<<endl<<endl;
    cout<<"Enter your radius 1st circle....";
    cin>>r;
    cout<<"\n\n";
    area1=p*r*r;
    cout<<"That is my 1st circle area..."<<area1;
    cout<<endl<<endl;
    cout<<"Enter your radius 2nd  circle....";
    cin>>r2;
    cout<<"\n\n";
    area2=p*r2*r2;
    cout<<"That is my 2nd circle area..."<<area2;
    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.