I have recently started learning C++ and I'm having some trouble with the following problem:
"Suppose a cuboid has three sides length, depth and height. Write a C++ program that reads from keyboard these 3 sides in the form of integers, with proper input prompt/s, then display the volume of the cuboid, i.e. the product of these 3 sides. If these 3 sides are of equal length, then display the message "The cuboid is a cube.". If two of the 3 sides, but not all the three, are equal to each other, then display the message "The cuboid has a square face but is not a cube.". If none of the 3 sides are equal to one another, then display the message "The cuboid has no square faces."."
It seemed easy to me when I first read it but every attempt I've made has resulted in failure, any help would be greatly appreciated.
Edited 4 Years Ago by Sloppos21: typo