1.

Write a basic program to calculate and print area and peremeter of a rectangle whose length is 13 cm and breadth is 35 cm .​

Answer»

ANSWER:

C++ Program is GIVEN below.

Explanation:

#include

#include

void main()

{

int L=13,b=35,par=0,ar=0;

ar=l*b;

par=2*(l+b);

COUT<<"parameter of a rectangle having l & b 13cm and 35cm is"<

cout<<"Area of the rectangle is "<

getch();

}



Discussion

No Comment Found