Searching...

Parameter and Area

16:00


#include <iostream>
using namespace std;
int main ()
{
double length,width,parameter,area;
cout << "Enter length:" <<endl;
cin >> length;
cout << "Enter width:" <<endl;
cin >> width;
area=length*width;
parameter=2*(length+width);
cout << "Area is = "<< area <<endl;
cout << "Perameter is ="<< parameter <<endl;
return 0;
}

0 comments:

Post a Comment

Thanks For Your FeedBack....

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.