mostly got 3 type for loops...for, while and do...while....example:for(int i =0;i<10;i++){code here...}while(i>0){code here...}do{code here...}while(i>0)