Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream.h>
- #include <conio.h>
- #include <stdio.h>
- int main()
- {
- int m=17;
- int a=1;
- int c=3;
- int x=16;
- int b;
- int i;
- for(i=0; i<20; i++)
- {
- b=(x+a-c) % m;
- cout<<"Z"<<a<<" = "<<b<<endl;
- x++;
- a++;
- }
- //return 0;
- getch();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement