fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. double a,b,c;
  6. scanf("%lf %lf",&a,&b);
  7. c=a;
  8. a=b;
  9. b=c;
  10.  
  11. printf("a=%fb=%f",a,b);
  12.  
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0.01s 5324KB
stdin
3 4
stdout
a=4.000000b=3.000000