problem

length and breadth of rectangle is 10(cm).default unit is cm.if another unit is entered it should be converted into cm.no negative values should be accepted.

calculate perimeter and area

support a method to find out rectangle is square or not

create a main to store rectangles in array

can anyone give me the code for this
Why did you start a new thread?
Registered users can post here. Sign in or register to post.