how to run a for loop

i am unable to use loops in my programming how can i know make uses of loop in programming

A for loop looks like this : for(i=0;i<n;i++) or for(i=n;i>0;i–)
In a for loop (in C programming language) , there are 3 things you should know.
1.Initialising
First you have to state from where your variable is going to start.
2.Condition
You have to specify the condition that your variable will follow.
3.Increment or decrement
You will have to state if your variable is decrementing with every iteration or incrementing with every iteration.

Hope this helps…!!!