From 743c47c671347a0ac0f8f64b7117b48c65bab073 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 29 Aug 2024 13:27:45 +0200 Subject: more --- 5p8.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 5p8.cpp (limited to '5p8.cpp') diff --git a/5p8.cpp b/5p8.cpp new file mode 100644 index 0000000..4e9b5b1 --- /dev/null +++ b/5p8.cpp @@ -0,0 +1,23 @@ + +/* + * + * 5.8 + * + * + */ + +int main () { + + // Dangling else is the ambiguity in if else statements + /* + if(condition) + statement + if(condition2) + statement + if(condition3) + statement + else + statement + */ + return 0; +} -- cgit v1.2.3