summaryrefslogtreecommitdiff
path: root/chapter03/README.md
diff options
context:
space:
mode:
authorTamas Hadhazy <helsgithub15@gmail.com>2024-09-14 22:46:23 +0100
committerCliff Click <cliffc@acm.org>2024-09-14 15:25:02 -0700
commit00a248014819ad650294be2446f6a9d2bff9a29b (patch)
tree3108fb3225a13efdec186c101314653426f7790a /chapter03/README.md
parent4a3f02493f0257c62851e7c4dc09e79df1432e67 (diff)
downloadSimple-00a248014819ad650294be2446f6a9d2bff9a29b.tar.gz
Simple-00a248014819ad650294be2446f6a9d2bff9a29b.zip
b and e use different numbers
Diffstat (limited to 'chapter03/README.md')
-rw-r--r--chapter03/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter03/README.md b/chapter03/README.md
index 4c4e49fe..ec3d99e8 100644
--- a/chapter03/README.md
+++ b/chapter03/README.md
@@ -137,13 +137,13 @@ For example:
02 int b=2;
03 int c=0;
04 {
-05 int b=3;
-06 c=a+b;
+05 int b=5;
+06 c=a+b;
08 }
09 {
-10 int e = 3;
+10 int e=6;
11 c = a+e;
-13 }
+13 }
14 return c;
```
Here both scopes starting from `(04-08)` and `(09-13)` are at the same level: