The theorem of structured programming says that any algorithm can be expressed by those three control structures:SequenceSelectionIterationIsn't it possible to rewrite any loop using a finite sequence of statements and choice between statements? Isn't this what compilers do? Can't we thus omit the third structure and stay equally expressive?
Can a loop be expressed by only the sequence of statements and the choice of statements?
programming languages;computation models;programming paradigms