交换输出两个数

来源:互联网 发布:电视网络端口是什么 编辑:程序博客网 时间:2024/06/07 22:03
#include<stdio.h>int main(){    double a,b,t;    printf("输入两个数:");    scanf("%lf%lf",&a,&b);    t=a;    a=b;    b=t;    printf("a=%lf,a=%lf",a,b);    return 0;     } 

这里写图片描述

原创粉丝点击