C++ Switch Case Statement
Submissions: 5306   Accuracy:

40.43%

  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!

Given  a number as input, if the number is between 1 and 10 both inclusive then print the number in words otherwise print "not in range".

Input: 
First line of input contains an integer T which denotes the number of test cases. Then T test cases follows. First line of each test case contains an integer N.

 

Output:  
For each test case, if the number is between 1 and 10 both inclusive then print the number in words in small cases otherwise print "not in range" 


Constraints:

1<=T<=1000
1<=N<=100


Example:

Input:

5
5
6
12
2
10

Output:
five
six
not in range
two
ten

** For More Input/Output Examples Use 'Expected Output' option **

Contributor: Harsh Agarwal
Author: harsh.agarwal0


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.

to report an issue on this page.