I need HELP
Problem: Roll carpet comes in rolls 3.66 meters wide. Carpet is paid for by the total number
of whole metres that need to be cut from the roll. It may be laid in a rectangular room
lengthways or widthways. Either way there might be some wastage. The length of a room is
always its longer dimension and its width is always its shorter dimension.
Write a program that repeatedly asks the user for room dimensions until either dimension
entered is zero or less. For each room print the length and width (to the nearest millimetre),
and the total length of carpet required in whole metres, both lengthwise and widthwise.
We are now in the process of buying the last stuff for our new apartment, and the most significant challenge now are the carpets. My husband doesn't admire rugs and is definitely in the opinion not to buy them. But for me, I am a lover of beautiful and unique carpets. I even found a fantastic store, https://www.rugsdoneright.com/collections/shape-stair-runner, with many options regarding carpets, and all are extraordinary. They are special, and their design is eye-pleasing. I would definitely convince him to purchase at least two.