I am not getting

1. why mod() function has been used,
while you can use 'if country = 1000'
It will never cross the 1000 becuase
u r reset country = 0 when country = 1000;

2. why are you using country1 ?

If i am unable to understand please explain.

P. Soni