#include<stdio.h>
void main()
{
int number1,number2,number3;
printf("enter the first number");
if(scanf("%d",&number1)==1)
{
printf("enter the second number");
if(scanf("%d",&number2)==1)
{
number3=number2;
number2=number1;
number1=number3;
printf("number1=%d\n",number1);
printf("number2=%d\n",number2);
}
else
{
printf("Error,Enter the number in decimal data type.");
}
}
===============================OUTPUT==================================
enter the first number232
enter the second number23
number1=23
number2=232