The code just doesn’t work and continue to print all numbers till infinity with the numbers having one as it’s last digit.
But what i want it to do is to print all the numbers between a and b who got same inital and last digit. for eg- if input is 90 and 125. Output shall be 99 101 111 121
printf(“Enter the lower limit”);
printf(“Enter the upper range”);
for(i=a; i<=b; i++)
i=d; //setting back variable i to its initial value to continue for i++
printf("%d\n",e); //printing number of numbers existed in given range