loop with letter char as the control variable