fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a,b;
  5. scanf ("%d",&a);
  6. scanf ("%d",&b);
  7. printf ("%d\n",b);
  8. printf ("%d\n",a);
  9. return 0;
  10. }
  11.  
  12. // Task Description: Write a program to read two integers a and b, then print b first in a line, then print a in another line.
Success #stdin #stdout 0s 5324KB
stdin
1 2
stdout
2
1