Given values of length and breadth of a rectangle from user, check if it is square or not
Answers
Answer:
if you want programes in python here's your answer-
Explanation:
l=int(input("Enter your first number :"))
b=int(input("Enter your second number :"))
if l=b:
print("Its a square")
else :
print("its an rectangle")
Explanation:
System.out.println("enter the length");
int a=sc.nextInt();
System.out.println("enter the breadth");
int b=sc.nextInt();
if(a==b)
System.out.println("It is square");
else
System.out.println("It is not the square");
A Rectangle is a 4 sided-polygon, having all of the inner angles the same to ninety degrees.
The facets at every nook or vertex, meet at proper angles.
The contrary facets of the rectangle are the same in a period which makes it specific from a square.
A rectangle is a 2D form in geometry, having four facets and four corners. Two facets are stated to be parallel, while the gap among them stays equal in any respect points.
Other names of the rectangle. Since all of the angles of a rectangle are the same, we additionally name it an equiangular quadrilateral.