difference
unknown
c_cpp
3 years ago
262 B
30
Indexable
#include<stdio.h>
int main()
{
int a,b,temp;
scanf("%d %d",&a,&b);
if (a<b)
{
temp=b;
b=a;
a=temp;
printf("%d\n",a-b);
}
else
{
printf("%d\n",a-b);
}
return 0;
}
Editor is loading...