computer






 

Question by  Ewell (23)

Can you give me some examples of an event-driven language?

 
+6

Answer by  Anwar88 (112)

Here is a practical example, declare the counter K and the integer T. OnKeyEnter(character C) { convert C to a number N if K is zero store N in T and increment K otherwise subtract N to T, print the result }

 
+4

Answer by  jacksprat870 (148)

galsC and visual basic are both examples of event driven programming. The actions in the program are based off of keystrokes or mouse clicks.

 
You have 50 words left!