I am trying to prove the density of rational numbers over the real line on my own.
I used the fact that any terminating number in base 10 is rational ( which I have proved already). So given any two real numbers a,b (no matter how close) I have proved One can construct a terminating number(similar to Cantor's proof of uncountability of irrational numbers) between the given numbers. Is this a valid proof? Or am I missing something?