Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
If you hate scopes, why do you artificially create many more of them than you need? Every time you write int or char you define a new variable of that type, and thereby create a scope. The only places that require a type are declarations: function declarations or variable declarations.Your...
8 Nov 2012fjdiewornncalwe
You need to make some effort on your own first. That means you need to post code that you have written first, and we'll help you get it right. We won't do the work for you.Homework, and why we don't do it.[^] (Compliments of JSOP)
Question: How many times do you need to type char in your code? Hint, you have too many of them.Question: How many times do you need to type int in your code? Hint, you have an extra one in there somewhere.Question: What good is the variable i in the subroutine Names? You don't use...
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.