Assignment Operators

Example Programs

Program [1]

Write a program to input two integers (say a and b) and interchange their values and display the result.

For Example:

INPUT: Enter two integers: 15 36


Before interchange: a=15 and b=36

After interchange: a=36 and b=15

Please note that you can take just one variable other than a and b for interchanging.

View Solution

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad