a) Give a definition of each of the following program control structures: sequence, selection and iteration. 

Question

b) Using example code (in any language with which you are familiar) describe THREE different types of iteration/looping statements.
c) Explain using an example what is meant by an infinite loop in a computer program.

Leave an answer

Sorry, you do not have permission to answer to this question .