Amdocs Interview Question

how do you write a for loop