ex_loops

The sample shows how to use loops (while and for).