Hi ..
for(int i=1;i<=n;i++)
{
first=i%10;
last=i/10;
.......
i want to see how many number that first number equal last number;
like 3003..and 1,2,3... is counted because its a single numbers
but my statmant it is just count the num unti 100 and its not count the single numbers ..
I think the wrong in value of last ..i wamnted count unt the number that user inter
last =??
Thank you :)