Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3. int x[99],n;
  4. void shift(int x[99],int n)
  5. {
  6. int aux,i;
  7. aux=x[0];
  8. for(i=1;i<n;i++)
  9. x[i-1]=x[i];
  10. x[n-1]=aux;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement