Tag Selected: how to use for loops in c programming