Write a program in c++ to input length and breadth of a rectangle. Calculate and display the area,perimeter or diagonal of rectangle as per user choice.
Answers
Answered by
1
Area of rectangle=lenght×breadth. (L×b)
Perimeter of rectangle =2×(lenght×breadth)
Perimeter of rectangle =2×(lenght×breadth)
Similar questions