/*wap to display series 2,4,6,8,10 using "for loop"*/
#include<stdio.h> #include<conio.h> void main() { int i,n=2,ser; clrscr(); for(i=1;i<=5;i++) { ser=n*i; printf("\n%d",ser); getch(); } }
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
#include<stdio.h> #include<conio.h> void main() { int i,n=2,ser; clrscr(); for(i=1;i<=5;i++) { ser=n*i; printf("\n%d",ser); getch(); } }