Write a basic program to calculate and print area and peremeter of a rectangle whose length is 13 cm and breadth is 35 cm .
Answers
Answered by
0
Answer:
C++ Program is given below.
Explanation:
#include<stdio.h>
#include<conio.h>
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"<<par;
cout<<"Area of the rectangle is "<<ar;
getch();
}
Similar questions