Question: Write a for loop to print the odd numbers from 1 to 99 (inclusive). Print one number per line. There is no input from the
Write a for loop to print the odd numbers from 1 to 99 (inclusive). Print one number per line. There is no input from the user on this problem.Once you have the for loop working, do the problem again using a while loop.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
