#Include<stdio.h>
#include<conio.h>
Void main()
{ int a,b,;
clrscr();
Printf(“enter first no :”); /*user will define the value*/
Scanf(“%d”&a);
Printf(“enter second first no :”);
Scanf(“%d”&b); /*user will define the value*/
a=a+b;
b=a-b;
a=a-b;
printf(“%d”,a);
prinf(“%d”,b);
Printf(“enter first no :”); /*user will define the value*/
Scanf(“%d”&a);
Printf(“enter second first no :”);
Scanf(“%d”&b); /*user will define the value*/
a=a+b;
b=a-b;
a=a-b;
printf(“%d”,a);
prinf(“%d”,b);
getch();
}
Output:
0 Comments