C# Pop Quiz
/This little exercise comes out of a First Year lecture last week. Given the code:
short i;
for (i = 0; i < 10; i--)
{
Console.WriteLine("i is: " + i);
}
What would it do?
(For those of you that haven't seen it before, the i-- part of the for loop has the effect if reducing the value of i by 1. It is a shorthand version of "i = i - 1")