What are examples of Event Driven programs?

Answer:
set counter K to 0
repeat
{
if a number has been entered (from the keyboard)
{
store in A[K] and increment K
if K equals 2 print A[0]+A[1] and reset K to 0
}
}
First answer by ID1001891993. Last edit by P deep. Contributor trust: 1 [recommend contributor recommended]. Question popularity: 4 [recommend question].