Write a program to print area …
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Posted by Sushant Mukhia 5 years, 8 months ago
- 1 answers
Related Questions
Posted by M.Sameeha _ 6 months, 3 weeks ago
- 0 answers
Posted by Sanchi Kohati 7 months ago
- 0 answers
Posted by Manasvi Bhutada 7 months, 4 weeks ago
- 1 answers
Posted by Payal Kumari 11 months, 1 week ago
- 0 answers
Posted by Jaysundar Vc 8 months ago
- 0 answers
Posted by Jeevesh Jeevesh 7 months, 3 weeks ago
- 1 answers
Posted by Catherine Tympuiñ 7 months ago
- 0 answers
Posted by S A 7 months, 2 weeks ago
- 0 answers
Posted by Catherine Tympuiñ 7 months ago
- 1 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
Sia ? 5 years, 8 months ago
#include <iostream>
using namespace std;
int main() {
int width, lngth, area, peri;
cout << "\n\n Find the Area and Perimeter of a Rectangle :\n";
cout << "-------------------------------------------------\n";
cout<<" Input the length of the rectangle : ";
cin>>lngth;
cout<<" Input the width of the rectangle : ";
cin>>width;
area=(lngth*width);
peri=2*(lngth+width);
cout<<" The area of the rectangle is : "<< area << endl;
cout<<" The perimeter of the rectangle is : "<< peri << endl;
cout << endl;
return 0; }
0Thank You