Quote:
Problem in loops! !
I guess that loops are not your only problem.
Your systematic use of
break
inside each loop ensure that not a single loop will loop. You just defeat the purpose of loops.
Advice: go back to tutorials and learn properly how language structures works.