We can find whole number occurring just before $$10,001$$ by subtracting 1 from $$10,001$$ which would be $$10,001-1=10,000$$
We can find whole number occurring just before $$10,000$$ by subtracting 1 from 10,000 which would be $$10,000-1=9,999$$
We can find whole number occurring just before $$9,999$$ by subtracting 1 from 9,999 which would be $$9,999-1=9,998$$
Therefore, three whole numbers occurring just before $$10,001$$ are $$10,000, 9,999$$ and $$9,998.$$