diff options
author | Oskar <[email protected]> | 2024-08-29 16:24:16 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-08-29 16:24:16 +0200 |
commit | e039d589d29ab799c20fe845d5a005dc257f9a44 (patch) | |
tree | 6d89c035ee7c059813e0d34a8dc21f500ad27c1f /5p13.cpp | |
parent | 5cff617b2aa2148773256eed1a00607e0189529b (diff) |
more
Diffstat (limited to '5p13.cpp')
-rw-r--r-- | 5p13.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,12 +1,16 @@ -#include <iostream> /* * - * Description + * 5.13 * * */ int main () { + + // (a) there are no breaks, so we add breaks after each case + // (b) ix is initialized in case 1 but we try to use it in default, we add brackets and initialize it in default as well, or maybe make the variable global + // (c) we can only have one value per case, we would need to add a case for each value so it can fall through + // (d) case labels must be integral constant expressions return 0; } |