What is the difference between multiprogramming and time sharing OS?

Multiprograming system is that system in which multiple programs run at same time or simontaniously for example windows xp.in this system does not provide user interaction with the coputer system. But time sharing systemis that provide user interaction with system and user thinks that system is with him all the time.