very very basic for loop and if else if else
#include
using namespace std;
int main()
{
int i;
for(i=0;i<=13;i++)
{cout << "Hello world! "<< i <
..notice that by the time it leaves the
for (){}
loop it is 14 not 13
Want system pause?
system("PAUSE");
then you'll need:
#include