Algorithms: what is the running time of the following iterative algorithm? b) It is possible to talk about the best, average and worst running times for this algorithm. Why?

what is the running time of the following iterative algorithm?
b) It is possible to talk about the best, average and worst running times for this algorithm. Why?