Solution (source code)

= Solution

Use the <difference of two squares> about $10000$:
$$
10002\cdot9998=(10000+2)(10000-2)=10000^2-2^2=\boxed{99\,999\,996}.
$$