c语言如何用scanf答:需要准备的材料分别有:电脑、C语言编译器。1、首先,打开C语言编译器,新建一个初始.cpp文件,例如:test.cpp。2、在test.cpp文件中,输入C语言代码:int a, b, c, d;scanf("%d%d%d", &a, &b, &c, &d);printf("%d %d %d %d", a, b, c, d);3、编译器运行test.cpp文件,此时...
C语言中, scanf()是什么意思?答:include"stdio.h"main(){ inta,b,c,t;printf("pleaseinputa,b,c:");scanf("%d,%d,%d",&a,&b,&c);t=a;a=b;b=c;c=t;printf("%d,%d,%d",a,b,c);getch();}