# include <cstdlib>
# include <iostream>
using namespace std;
p_long class {
public:
int p, l;
int area ()
{return (p * l);}
};
main () {
p_long a;
cout <<"Rectangle" <<endl;
cout <<"Length of \ t:"; cin>> a.p;
cout <<"Width \ t:"; cin>> a.l;
cout <<"Area \ t:" <<a.Rectangle () <<endl;
system ("PAUSE");
return EXIT_SUCCESS;
0 Response for the "The program determines the area of the rectangle .Dev C + +"
Post a Comment