Is there a reason we define an empty string


#1

this is great, my code was similar but without the empty string "result".. My code kept on giving me an error.

Is there a reason we define an empty string, and add to it instead of just printing c?


Anti_vowel
#2

It's similar to starting with an initialized 0 when running a total. We have to have something to start with when using shorthand operators.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.