The answer to this puzzle can be anything but most commonly it is Trees. Pines, Redwood, Sequoias, any kind that is tall and straight. Or it can be something like poles, or even humans.
Your main problem was declaring int prod in the while loop. This caused prod to be reset back to 1 every time the while loop ran.
Your software is not remembering your password or SSID , maybe your router also has a forget all setting