I have to write a program that asks the user to input length, width, and height and then the program determines whether it is a rectangle or a square
and then it has to determine if its a cube... i get how to ask if its a rectangle or cube but how do i incorporate a cube ?
this is what i have for this part :
if (length == width)
cout << "Your object is a square! \n";
else
cout << "Your object is a rectangle! \n";