Welcome

Hi! This blog is for beginners of c++ and java .You can check and pick codes for your programming assignments. This will also help you to understand the concepts of these programming languages. Its all about programming.

Loops Practise

Wednesday, May 18, 2011

#include <iostream.h>
#include <conio.h>
int main ()
{
    clrscr ();
    const int finish=10;
    int last=0;
    for (int number=last;last<finish;last++)
    {
        number+=2;
        cout << number <<" , ";
    }
    getch();
    return 0;
}