Capgemini interview question

final year projects code to swap numbers