Respuesta :
The program is a conditional program, and it requires an if statement
The program in Python
The complete program written in Python is as follows:
length = int(input("Length: "))
width = int(input("Width: "))
if length == width:
print("Square")
else:
print("Rectangle")
Read more about Python programs at:
https://brainly.com/question/24833629
#SPJ1
Answer:
Since someone else answered in python, I will answer in c++
The complete program written in C++ is as follows:
int length;
int width;
cout << "Length: ";
cin >> length;
cout << "Width: ";
cin >> width;
if (length == width) {
cout << "Square";
} else {
cout << "Rectangle";
}