Tuesday 1 May 2012

Lecture 54


                                                Lecture 54
Loop

// Loop For
#include <iostream>
#include <conio.h>
using namespace std;
 main ()
{  
      int i;
      for(i=0;i<10;i++)
          cout<<i;     
  getch();
  return 0;
}

Code view in dev compiler:

Compile the program Ctrl+F9

      Run program Ctrl+F10