So far we’ve just been adding variables near the end of the file (under the second “public”). There are 3 places in the code that say either “public:” or “private:” and the way it’s structured seems like there’s code grouped under each of those. Am I correct in thinking that everything defined under these public/private keywords belongs to them?
For example, line 16 belongs to the first public while lines 23-32 belong to the second public? If that’s the case, why have not have everything that’s public under a single public keyword?