Swift Basic Programming Exercise: Return true if either of two given integers is in the range 10..30 inclusive
Write a Swift program that return true if either of two given integers is in the range 10..30 inclusive.
Pictorial Presentation:

Sample Solution:
Swift Code:
Sample Output:
true false true
Swift Programming Code Editor:
Improve this sample solution and post your code through Disqus
Previous: Write a Swift program to test a given string whether it starts with "Is". Return true or false.
Next: Write a Swift program to check if a given string begins with "fix", except the 'f' can be any character or number.
What is the difficulty level of this exercise?
Based on 544 votes, average difficulty level of this exercise is Medium
.