//In the Name of ALLAH //This program prints the following sequence on the screen: //2 4 6 8 10 12 ... #include #include void main() { int i,n,x; // *** The Main Body *** // clrscr(); printf("This program prints the terms of the following sequence on the screen:\n2 4 6 8 ...\n"); printf("How many terms of this sequence do you want to be printed? "); scanf("%d",&n); printf("\n"); for (i=1;i<=n;i++) { x=i*2; printf("%d\t",x); } getch(); }