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, 5 months ago
- 1 answers
Related Questions
Posted by S A 4 months, 2 weeks ago
- 0 answers
Posted by Sanchi Kohati 4 months, 1 week ago
- 0 answers
Posted by Manasvi Bhutada 5 months ago
- 1 answers
Posted by Catherine Tympuiñ 4 months, 1 week ago
- 0 answers
Posted by Payal Kumari 8 months, 1 week ago
- 0 answers
Posted by Sameeha _ 3 months, 4 weeks ago
- 0 answers
Posted by Jaysundar Vc 5 months, 1 week ago
- 0 answers
Posted by Catherine Tympuiñ 4 months, 1 week 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, 5 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