dear i am confused using loops. anybody help me .