Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include"iostream.h"
- #include"conio.h"
- //Write a program which will show SELIM 5 times
- void main()
- {
- clrscr();
- int n,i;
- for(i=1;i<=50;i++)
- {
- cout<<i;
- //cout<<"SELIM";
- cout<<endl;
- }
- getch();
- }
- //Series
- #include"iostream.h"
- #include"conio.h"
- //Write a program which will show SELIM 5 times
- void main()
- {
- clrscr();
- int n,i;
- for(i=0;i<=50;i=i+5)
- {
- cout<<i;
- //cout<<"SELIM";
- cout<<endl;
- }
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment