# include <iostream>
# include <conio>
main ()
{
int p, l, for example, area, circumference;
court <<"\ n \ n ****************************************** **********"
"\ n PROGRAM FOR CALCULATING AREA AND TOUR RECTANGLE"
"\ n *********************************************** *****"
"\ n \ ncontoh length = 25 \ n" "example width = 15 \ n"
"the breadth = 375 \ n" "while the circumference = 80 \ n \ n" <<sample;
court <<"\ nEnter length =";
cin>> p;
court <<"enter width =";
cin>> l;
area = p * l;
court <<"the area of the rectangle is a =" <<area;
circumference = 2 * (p + l);
court <<"\ nsedangkan circumference is =" <<circumference;
getch ();
}
Friday, June 24, 2011
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment