From 8028c459af43232db102bc6f2db0b63999ca4697 Mon Sep 17 00:00:00 2001 From: CbdFocus Date: Mon, 17 Jun 2019 14:47:10 +0800 Subject: [PATCH] FIX -- Ch05 10.txt --- ch05/Exercises/10.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ch05/Exercises/10.txt b/ch05/Exercises/10.txt index 879d371..1e9daab 100644 --- a/ch05/Exercises/10.txt +++ b/ch05/Exercises/10.txt @@ -1,2 +1,5 @@ The switch statment evalutes 1 % 3 (the remainder of 1 / 3) and prints the result in string format. In this case 1 % 3 = 1, so case 0: is executed to print "one". +But due to the lack of `break`, it will print one more `two`. + +So, the answer is `onetwo`.