This is a computer code in C++:
d=0; if(d==0, goto Begin, goto End);
Begin:d=0;a=listfor(i,10000,99999,i);c=sumforeach(x, a, x%10==d or (x div 10)%10==d and x>9 or (x div 100)%10==d and x>99 or (x div 1000)%10==d and x>999 or (x div 10000)%10==d and x>9999;print"Total(0)=",c;return;
Total= 30,951 - this is the number of integers with at least 1 zero.