Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+19 votes
asked in CSC211_Winter2018 by (1 point)

2 Answers

+7 votes

I think that the answer is for loop.

I am not 100% sure. Does anyone want to confirm or deny this?

answered by (1 point)
+9

Actually the correct answer is that it is a variable.

+6

Thank you... I was guessing for loop becasue when we have talked about scope in class it has been when we were talking about for loops.

+6

It can sometimes be related to a for loop, however there are other examples of when scope could limit the use of it. A method is another example of when scope limits the use of the variable. If you define a variable in one method, it does not mean that it is defined in all other methods.

+4 votes

Variables unless you declare a constant at top

answered by (-499 points)
...