This program interchanges the two numbers inputted from the keyboard. Just yet another simple program...
Two numbers are input through the keyboard into two locations C and D.
Write a program to interchange the contents of C and D.
printf ("Enter the value of C and D: ");
scanf ("%d %d", &C, &D);
printf ("\nThe exchanged values of C and D are: %d and %d ", C, D);