dla c
for (int i = startPoint; i<index ; i++ // or i--){
//Do something...
}
Good Grebe
for (int i = startPoint; i<index ; i++ // or i--){
//Do something...
}
for (let i=0; i<10; i++) {
console.log("hello") }
for(int i=0;i< /*condition*/ ;i++)
{
//your code here
}
for (<exp_1>; <exp_2>; <exp_3>){
// loop body
}
//limit can be any number
//you can use any comparison operator
for(int iteration = 0; iteration < limit_number; iteration++)
{
//action in for loop
}
#include iostream
using namespace std;
int main{
for(int i=0; i<100; i++)
{
cout<<"Hello World";
}
return 0;
}