For Loop
https://www.hackerrank.com/challenges/c-tutorial-for-loop/problem
#include <iostream>
using namespace std;
int main()
{
int a, s,i;
cin >>i;
cin>> a;
for(i; i<=a; i++)
{
if(i==1)
{
cout<< "one\n";
}
else if(i==2)
{
cout<< "two\n";
}
else if(i==3)
{
cout<< "three\n";
}
else if(i==4)
{
cout<< "four\n";
}
else if(i==5)
{
cout<< "five\n";
}
else if(i==6)
{
cout<< "six\n";
}
else if(i==7)
{
cout<< "seven\n";
}
else if(i == 8)
{
cout<<"eight\n";
}
else if(i ==9)
{
cout <<"nine\n";
}
}
for(int j=10; j<=a; j++)
{
s = j%2;
if(s==0)
{
cout<<"even\n";
}
else
{
cout << "odd\n";
/* code */
}
}
}