Question: Which one generates a random number between 0 and 9 9 ( including 0 and 9 9 ) ? Question 2 3 options: 1 .

Which one generates a random number between 0 and 99(including 0 and 99)?
Question 23 options:
1. let fope: Int = random(100)
2. let fope: Int = Int(arc4random()%100)
3. let fope: Int = ranNumber()%99
4. let fope: Int = Random()%99

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!