I am generating 25 random integers between 0 and 99. However I have to display all the evens on one line and all the odds on the next line. How can I do it?
pub
Use two loops. In both iterate over all numbers but in first test if number is even, if so print it, in second check if number is odd, if so print it.