1.

Write a program C++ to calculate and print the area and perimeter of a rectangle whose length is 24cm and breadth is 32cm ??Explain it​

Answer»

ANSWER:

//RECTANGLE program

Explanation:

#include

using namespace std;

int MAIN(VOID)

{

double LENGTH,width;

length=24;

width=32;

cout<<"Area of rectangle is "<

cout<<"Parameter of rectangle is "<<2*length*width;

return 0;

}



Discussion

No Comment Found