Content deleted Content added
Line 66:
! [[do while loop|do while]]
! [[for loop|for i = 1 to N]]
! [[switch statement|select case]]
|-
| C
Line 74:
| do { ''instructions'' } while (''condition'')
| for (i = 0; i<N; i++) { ''instructions'' }
| switch (''variable'') { case ''case1'': ''instructions'' break; ... default: ''instructions'';}
|-
| C++ (STL)
Line 98:
|
| for i := 1 to N do \n begin \n ''instructions'' \n end;
| case ''variable'' of \n ''meaning'': ''instructions''; \n default: ''instructions'' \n ... end;
|-
| Visual Basic
Line 105:
| Do While ''condition'' \n ''instructions'' \n Loop
| Do \n ''instructions'' \n Loop While ''condition''
| For i = 1 To N Step 1 \n ''instructions'' \n Next i
| Select Case ''variable'' \n Case ''case1'' \n ''statements'' \n ... Case Else \n Statements \n End select
|-
| Python
|