20.零起点学算法15——交换变量

#include<stdio.h>
int main()
{
    int a,b,c;
    while(scanf("%d %d",&a,&b)!=EOF)
    {
        c=a;
        a=b;
        b=c;
    printf("%d %d",a,b);
    }
    return 0;
    }

猜你喜欢

转载自www.cnblogs.com/Estwind/p/9716297.html