Provide yourself an example (not one from your instructor) of how you use a particular command that
will help jog your memory in the future when you need that command again. You must provide a little
code as well as a written explanation with this one.
temp2 = length;
length = height;
height = temp2;
This series of commands lets the user swap variables for each other. It was useful in the check mail assignment because i could keep track of all the variables without losing them. It worked inside if statements that decided (for this case) height was the largest variable.
Tuesday, October 23, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment