loading
main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stdio.h>


int main(void) {
  float A=1.5e7;
  float B=250.6;
  float C;

  // Working swapping
  C=A;
  A=B;
  B=C;
  printf("%.2f %.2f\n",A, B);

  // Non working swapping
  A = A + B;
  B = A - B;
  A = A - B;
  printf("%.2f %.2f\n",A, B);

  return 0;
}