# Iterating through Collections ## Challenge 1 Write a for loop that adds the names of all bio majors into the bioStudents array <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment1?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe> ## Challenge 2 Write a for loop that adds every even item in the array to the string <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment2?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe> ## Challenge 3 Write a for loop to iterate through the numbers array and store all the even numbers into the evenNums array and odd numbers into the oddNums array <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment3?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe> ## Challenge 4 Write a for loop that adds one to each number in the numbers array <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment4?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe> ## Challenge 5 Write a for loop that loops through the reversed string and adds it into the youAre string in reverse order <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment5?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe> ## Challenge 6 Write a while loop that adds the last two items in the fibonacci array and pushes it to the end of the fibonacci array as long as i is less then 10 <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment6?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe> ## Challenge 7 Write a while loop that goes from 1 to 50(including 50) and stores the even numbers in the evenNums array and the odd numbers in the oddNums array <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment7?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe> ## Challenge 8 Write a for loop that sums all numbers between 1 and 10(including 10) into the sum variable <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment8?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe> ## Challenge 9 Write a while loop that changes all the bio majors to chem majors <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment9?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe> ## Challenge 10 Write a while loop that sums the cost of all the blue colored furniture and saves it into the cost variable <iframe height="600px" width="100%" src="https://repl.it/@waldo023/IteratingAssignment10?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe>