Computer Science, asked by sahuudaya456uda, 11 months ago

write a programm to enter the length and width of a rectangle .Display the area and perimeter of the rectangle. ( Subject is COMPUTER)​

Answers

Answered by anetichkoidze
0

Answer:

Explanation:

#include <bits/stdc++. h>

using namespace std;

int main{

int a,b,c,d;

cin>>a>>b;

c=(a+b)*2;

d=a*b;

cout<<c<<d;

return 0;

}

Similar questions