Switch case: Revision history

From Applied Science

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

21 January 2025

22 April 2022

18 April 2022

  • curprev 22:2522:25, 18 April 2022Wikiadmin talk contribs 1,840 bytes +26 No edit summary
  • curprev 01:0001:00, 18 April 2022Wikiadmin talk contribs 1,814 bytes +1,814 Created page with "* '''Conditional structures with SWITCH and CASE:''' <div style="margin-left:1.5em;"> int choice;<br /> switch (choice) {<br /> case 1: printf("You chose 1"); break;<br /> case 2: printf("You chose 2"); break;<br /> case 3: printf("You chose 3"); break;<br /> default: printf("You chose %d (none of the above)", choice);<br /> } </div> '''Differences between SWITCH CASE and ELSE IF.''' The program's behaviour should be the same, what changes is the syntax and..."