Computer Science, asked by tiyashadey39, 20 days ago

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​

Answers

Answered by tehzeeb28
0

Answer:

//Rectangle program

Explanation:

#include<iostream>

using namespace std;

int main(void)

{

double length,width;

length=24;

width=32;

cout<<"Area of rectangle is "<<length*width;

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

return 0;

}

Similar questions