Computer Science, asked by pamelabanerjee115, 3 days ago

Write a q-basic program to take Two numbers and swap(interchange) the numbers with each others.​

Answers

Answered by atulfighter007
2

thank you goggles and copy the group is present

Answered by coolcaptain008
2

Answer:

Explanation:

swapping of two numbers in c

#include<stdio.h>

int main()

{

int a,b;

scanf("%d%d",&a,&b);

a=a+b;

b=a-b;

a=a-b;

printf("%d%d",a,b);

}

Similar questions