[ ASSIGNMENT: ] Special Number
A number is a Special Number if it’s digits only consist 0, 1, 2, 3, 4 or 5. TASK: Given a number, determine if it special number or not. NOTE! - The number passed will be positive (N>0). - All single-digit numbers with in the interval [0:5] are considered as special number. For Example:: 1. specialNumber(2) --> return "Special!:)" Explanation: It's a single-digit number within the interval [0:5]. 2. specialNumber(9) --> return "NOT!!" Explanation: Although, it's a single-digit number but Outside the interval [0:5]. 3. specialNumber(23) --> return"Special!:)" Explanation: All the number's digits formed from the interval [0:5] digits. 4. specialNumber(39) --> return "NOT!!" Explanation: Although, there is a digit (3) Within the interval But the second digit is not (Must be ALL The Number's Digits). HappyCodings!:-) https://code.sololearn.com/WBGrCGA5S9Kx/?ref=app