Challenge for While and For Loops
You will be given two numbers
b. Print out every number from
a will always be less than
Since we haven't covered printing yet, you can use the included
printNum() method to print a number. Just pass it whatever number or variable you want to print. For example,this code will print 5:
Alternatively, you can try out Learneroo before signing up.