Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int x[99],n;
- void shift(int x[99],int n)
- {
- int aux,i;
- aux=x[0];
- for(i=1;i<n;i++)
- x[i-1]=x[i];
- x[n-1]=aux;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement