From 4bd850c2b576f510dedb97e777c22189ca9a0e51 Mon Sep 17 00:00:00 2001 From: multimentha Date: Tue, 4 Sep 2018 21:05:48 +0200 Subject: [PATCH] Fix syntax in exercise 17_03 --- chp17_strings/exercise_17_03_equals/exercise_17_03_equals.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chp17_strings/exercise_17_03_equals/exercise_17_03_equals.pde b/chp17_strings/exercise_17_03_equals/exercise_17_03_equals.pde index 964b3fe..a464776 100644 --- a/chp17_strings/exercise_17_03_equals/exercise_17_03_equals.pde +++ b/chp17_strings/exercise_17_03_equals/exercise_17_03_equals.pde @@ -5,7 +5,7 @@ // Exercise 17-3: Find the duplicates in the following array of Strings. /* -String words = { "I" , "love" , "coffee" , "I" , "love" , "tea" } ; +String words[] = { "I" , "love" , "coffee" , "I" , "love" , "tea" } ; for (int i = 0; i < ______________; i ++ ) { for (int j = _; j < ______________; j ++ ) { if (___________________) {