This might be a very funny question for you all, but I am curious to know the answer :
i=10
i=i+1
i=i+1
i=i+1
i=?
what will be the final value of i
in terms of pure mathematics and what will be the final value of i
in terms of any programming language. I think I am thinking only in the programming way.
I know in programming languages the value will be 13
but I am confused about the mathematical value.
So experts please tell me if there is any difference between pure mathematical and programming statements.What will be value of i
in mathematics at last line?