Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. #include "stdio.h"
  2. #include "iostream"
  3. #include "math.h"
  4. #include <stdlib.h>
  5. #include<bits/stdc++.h>
  6. int ShiftRight(int a,int b,int c){
  7. printf("%d %d %d\n",c,a,b);
  8. return 0;
  9. }
  10. int main() {
  11.   int a,b,c;
  12.   int a1,b1,c1;
  13.   scanf("%d", &a);
  14.   scanf("%d", &b);
  15.   scanf("%d\n", &c);
  16.   ShiftRight(a,b,c);
  17.    scanf("%d", &a1);
  18.   scanf("%d", &b1);
  19.   scanf("%d\n", &c1);
  20.   ShiftRight(a1,b1,c1);
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement