Skip to content
C

Swap Two Values

Easyjava

Read two integers a and b, swap their values using a third temporary variable, and print them after the swap.

Input: two integers separated by whitespace.

Output: one line: a=<a> b=<b> using the values after the swap.

Input (stdin)

Output

Run your code to see output here...