NEW Results first two images
Nothing seems to be happening when I type in a height to test my code. I flipped the for loops in case that was the issue but nothing happened.
I've been staring at my computer for so long trying little tweeks to fix the error message. TLDR how do I stop the shadow message from appearing and initialize variable h? The image looks confusing since I print screened after changing int h to int n but did't check correctness until after, see int n as int h.
No matter what I do the message is the same. I've changed the variable from h to n like the example thinking that it was my choice in a random letter h that was the problem. I made int n and left my variable as h. I'm so confused now, this is my first time coding but I'm frustrated. Please help me, it is greatly appreciated. Blanked out some of the code for honor code reasons.