Question: Create a set named oddNumbers which contains the odd integers between 1 and 29 inclusive. Create an array of numbers named myNumbers. Using a for
Create a set named oddNumbers which contains the odd integers between 1 and 29 inclusive. Create an array of numbers named myNumbers. Using a for loop and set operations determine how many elements from myNumbers are in oddNumbers. Be sure to print out myNumbers, oddNumbers, and the result of your for loop. (NEED AN IF STATEMENT INSIDE THE FOR LOOP)
This is in language swift. what's the code for this?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
