1 # Include <stdio. h> 2 Int Main () 3 { 4 Int A, B, C; 5 Printf ( " Enter the first number " ); 6 Scanf ( " % D " ,& A ); 7 Printf ( " Enter the second number. " ); 8 Scanf ( " % D " ,& B ); 9 Printf ( " Before switching A = % d \ TB = % d " , A, B ); 10 Printf ( " \ N " ); 11 A = a + B; 12 B =- B; 13 A =- B; 14 Printf ( " After the switch, a = % d \ TB = % d " , A, B ); 15 Printf ( " \ N " ); 16 Printf ( " --------------------------------- " ); 17 Printf ( " \ N " ); 18 Printf ( " Before switching A = % d \ TB = % d " , A, B ); 19 Printf ( " \ N " ); 20 A =- B; 21 B = a + B; 22 A = B-A; 23 Printf ( " After the switch, a = % d \ TB = % d " , A, B ); 24 Printf ( " \ N " ); 25 Printf ( " --------------------------------- " ); 26 Printf ( " \ N " ); 27 Printf ( " Before switching A = % d \ TB = % d " , A, B ); 28 Printf ( " \ N " ); 29 C =A; 30 A = B; 31 B = C; 32 Printf ( " After the switch, a = % d \ TB = % d " , A, B ); 33 Printf ( " \ N " ); 34 }