I have written the following program from a book, this program is basically for an exception, first I don't understand the follow of this program, specially the values in for loop and in if statement, secondly the only output is this script and nothing is happening, in Red I am writing what I understand and after the program I have few questions:
this script
Questions:
1-At 1st what is the value of n? Since we have not declared it?
2-The 1st value of I is 2?
Thanks in advance

Suthish NairRank #92 · 22.8K reputationPosted Jun 17, 2011, 3:22 AM EDT
Posted Jun 15, 2011, 10:18 PM EDT
Q2 : Yes, you're correct. While the create the variable I they have initialized with the value of "2".
Hope this helps you.