How to limit the input telephone number to 1 1 digits with the linked list of C language?
You can use the following code to ensure that the number x entered must be a 11number that starts with1:
long long x = 0;
while(x & lt; = 1e 10 | | x & gt; =2e 10)
scanf("%lld ",& ampx);