All numbers that are NOT in an array under 1000
Posted
by
baklap
on Stack Overflow
See other posts from Stack Overflow
or by baklap
Published on 2011-01-17T09:45:06Z
Indexed on
2011/01/17
9:53 UTC
Read the original article
Hit count: 159
php
Hi,
I've got this programming problem.
I have number for example 1000.
Now I have a number in an array, like 999.
Now I need to display all numbers that are NOT in the array but are 1 to 1000;
The next requirement is essential: It has to be displayed in a way that it's easy to oversee.
So I was thinking, lets show: 100 200 300 400 500 600 700 800 900 910 920 930 940 950 960 970 980 990 991 992 993 994 995 996 997 998 1000
What is the best way to start programming this?
© Stack Overflow or respective owner