To Shift the Three Numbers a,b,c in Circular order

```
#include<stdio.h>
#include<ctype.h>
#include<conio.h>
#include<stdlib.h>
void circular_shift(int &x,int &y,int &z)
{
x=x+y;
y=x-y;
x=x-y;
x=x+z;
z=x-z;
x=x-z;
return;
}
int main()
{
int a,b,c;
a=5;b=8;c=10;
clrscr();
printf(" \n %d %d %d ",a,b,c);
circular_shift(a,b,c);
printf(" \n %d %d %d ",a,b,c);
circular_shift(a,b,c);
printf(" \n %d %d %d " ,a,b,c);
getch();
return(0);
}
```

About the Author

ScottieF 18