+ 1
Phone number
Hi , i need user to enter only 10 digits (no letters) as phone number . i know that i should do if statement and inside it for loop to check from 0 to 9 ,but i cant do it correctly
12 odpowiedzi
+ 9
Thanks @Gordie
+ 7
Take the Input as integer and then convert it into string and check the length, if it's ten then convert it into integer and you're done.
Code ? I don't know Java.
+ 1
thx yerucham
0
thx but i need it as code
0
java
0
I completed html course in sololearn but certificate but not generated it shows this course is completed but why this problems occurs.
0
- 1
what language?
- 1
sorry i dont know
- 1
good luck