I need to write a program that will output a list of all even numbers between 1-100. It needs to use a while loop then use a for loop. Any one got any help on how to do that?
If it is a task where you must have both kinds of loop you could do it like this: While number is less than 100
check if it is even (see the answer BestJewSinceJC gave you)
put the even numbers in a array of int's For every index in the int array make an outprint.