From 81e68a8afda11799e077f4cf15734f498a8b5404 Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Sat, 7 Sep 2024 13:20:57 -0600 Subject: [PATCH] vault backup: 2024-09-07 13:20:57 --- .../ECE1400/Chapter 2 Exercises.md | 25 +++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/education/software development/ECE1400/Chapter 2 Exercises.md b/education/software development/ECE1400/Chapter 2 Exercises.md index 26ff1d9..8819f9d 100644 --- a/education/software development/ECE1400/Chapter 2 Exercises.md +++ b/education/software development/ECE1400/Chapter 2 Exercises.md @@ -21,6 +21,27 @@ available for its completion. ``` # \#5 (A): `100_bottles` is not a legal C identifier because C identifiers cannot start with a number. - # \#6 -Double underscores are typically used to denote statements reserve \ No newline at end of file +Double underscores are typically used to denote statements reserved by the compiler, and in C++, double underscores are used in name mangling and so they cannot be used entirely. More subjectively, it can be hard to tell how many underscores are present. +# \#7 +(A): `for` +(E): `while` + +# \#8 +14. + +Work: +1. `answer` +2. `=` +3. `(` +4. `3` +5. `*` +6. `q` +7. `-` +8. `p` +9. `*` +10. `p` +11. `) +12. `/` +13. `3` +14. `;`