Computer Science, asked by XxzapsiaxX, 2 months ago

write a program in c++ to find perimeter of rectangle using function with arguments​

Answers

Answered by purveshKolhe
2

Answer:

#include<iostream>

using namespace std;

int main()

{

float len, bre, area;

cout<<"Enter Length of Rectangle: ";

cin>>len;

cout<<"Enter Breadth of Rectangle: ";

cin>>bre;

area = len*bre;

cout<<"\nArea = "<<area;

cout<<endl;

return 0;

}

Hope it helps you.

Similar questions