Another do while Example
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
int i = 1;
do
cout<<i<<" ";
if (i%5 == 0)
cout<<endl;
}
i = i+1;
while (i < 100);
cout<<endl<<endl;
return 0;