What is Event-driven programming?
----WHAT IS EVENT DRIVEN PROGRAMMING?----
In computer programming, event-driven programming is a programming paradigm
in which the flow of the program is determined by events such as user actions
(mouse clicks, key presses), sensor outputs, or message passing from other
programs or threads