how to restrict a user to give input only in numbers like 1,2,3.N0 other number should get entered by the user | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to restrict a user to give input only in numbers like 1,2,3.N0 other number should get entered by the user

31st Jan 2022, 6:08 AM
Uttam Singh
1 Answer
+ 5
Please specify relevant language(s) in the tags. Languages have different ways of reading input, so specificity is necessary in order to get relevant answers. https://code.sololearn.com/W3uiji9X28C1/?ref=app
31st Jan 2022, 6:11 AM
Ipang