Question for coders?

I am asking this question just to remember the answer.

How many real numbers exists between 2 and 7?

There are infinite real numbers between any two different real numbers.

why not just google it ??!!

Because there are people who can answer it easily. Nevertheless, if you want to google it then go ahead.

There're infinitely many real number between any two real numbers.

Proof:
Lets take two different real numbers a and b such that a<b without loosing generality.
Now the number (a+b)/2's neither a nor b since a and b are different,
If (a+b)/2<a, then
a/2+b/2<a
b/2<a/2
b<a which's not correct as a<b
Similarly we can prove that (a+b)/2!>b.
So (a+b)/2 can be only in the interval (a,b)or
between a and b.
i.e. a<(a+b)/2<b.
Similarly
a<(a+b)/4<(a+b)/2, a<(a+b)/8<(a+b)/4 etc.
Thus there are infinitely many real numbers between any two different real numbers.
This applies well to 2 and 7.

yeah i agree @Aanaya

aleena you the genius