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 NairPosted Jun 17, 2011, 7:22 AM
Posted Jun 16, 2011, 2:18 AM
Q2 : Yes, you're correct. While the create the variable I they have initialized with the value of "2".
Hope this helps you.