This is my first scripting class and I am a little confused about nesting if statements. I need help on when numbers should be printed.

show your code, it will help to understand

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.