231k views
3 votes
How many numbers between 100000 and 999999?

User Oluremi
by
7.3k points

2 Answers

0 votes

Answer:

there's actually 900000

Explanation:

lets do the same thing for a smaller number to show where the previous solution went wrong if you take the interval between 255 and 0 (this is the size of one part of an ipv4 we know there is 256 bits because you have the digits 1 to 255 which makes up 255 bits and then if you ad the 0 (lower limit of the interval) you get 256-- the same principle applies here if you just do 999999-100000 you are not counting the lower limit and you are counting the upper limit which is wrong because between may be ambiguous so that it can mean including or excluding the upper and lower limit but it cannot exclude one and include the other thus making the answer 900000 including its limits and 899998 excluding them

User JustLearn
by
7.4k points
0 votes
The total numbers between the given two numbers can be obtained by subtracting the small number from the large number. It is 999999 minus 100000. That is 899999.
User Sadeghbayan
by
8.4k points