#include <stdio.h>
// the preferred return type for main
int main( void )
{
int X = 4;
do
{
printf( "% d", X );
X = X + 1;
// can be shorted to:
// X++;
} while ( X <= 10 );
// add a carriage return to the output
printf( "\n" );
// tell the operating system everything went well
// not required
return 0;
}