Question: Can anyone help to do this in SWIFT Coding in Xcode. question: User will try to find a number from the computer number. The range

Can anyone help to do this in SWIFT Coding in Xcode.

question: User will try to find a number from the computer number. The range of the number should be able to set by the user. For an example user can set range between 1 to 20, 1 to 100 or any range. The number should be less than 1000 and all should be positive.

When user will play the game, User has an chance to make 5 guesses. If the secret number is guessed incorrect by the user in all the guess attempt then app say 'sorry' and displays the right number such as "the right number is 5'. If user guess the number right then it says, 'yes, it is correct and number is ....'.

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!