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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!