how to work break statement in a program.