Question: How can I create code for this using a while loop and no string multiplication? Leg Length Controls the length (height) of the legs. The
How can I create code for this using a while loop and no string multiplication?

Leg Length Controls the length (height) of the legs. The value entered should be a positive integer between 1 and 5. Below are examples of the various leg length possibilities. HHHHH /// W HHHHH 1/1 /// W HHHHH /// 1/7 1 /// HHHHH /// 7/ 11 ///
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
