conditional and iterative statement