Win a copy of Rust Web Development this week in the Other Languages forum!

anindam bhattacharaya

Greenhorn
+ Follow
since Nov 28, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by anindam bhattacharaya

G'day

I have a problem getting to understand this code.

I am failing to understand why is this printing
"hello" only twice.

in the 1st iteration, i=0,j=0 and i+j not > than 10. print hello
in the 2nd iteration, i=0,j=1 and i+j not > than 10. print hello
in the 3rd iteration, i=0,j=2 and i+j not > than 10. print hello
etc.


( tags added)
[ November 29, 2004: Message edited by: Barry Gaunt ]