Swap the numbers
CodeChefOpen on judge ↗
Tejeswar loves solving new problems. But he is stuck on this one. The problem states that given two numbers $a$ and $b$, you have to interchange the two numbers and output the result. ### Input - First and only line will contain $a$ and $b$, the numbers to be swapped. ### Output Output in a single line the result after swapping with a single space between them. ### Constraints - $1 \leq a \leq
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start