#include void main() { int a,b; float x,y; char c1,c2; scanf("a=%d b=%d",&a,&b); scanf("%f#includevoid main(){int a,b;float x,y;char c1,c2;scanf("a=%d b=%d",&a,&b);scanf("%f%e",&x,&y);scanf("%c%c",&c1,&c2);printf(%d%d%f%f%c%c);}老运行不正常 请

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 10:00:36
#includevoidmain(){inta,b;floatx,y;charc1,c2;scanf("a=%db=%d",&a,&b);scanf("%f#includevoidmain(){int

#include void main() { int a,b; float x,y; char c1,c2; scanf("a=%d b=%d",&a,&b); scanf("%f#includevoid main(){int a,b;float x,y;char c1,c2;scanf("a=%d b=%d",&a,&b);scanf("%f%e",&x,&y);scanf("%c%c",&c1,&c2);printf(%d%d%f%f%c%c);}老运行不正常 请
#include void main() { int a,b; float x,y; char c1,c2; scanf("a=%d b=%d",&a,&b); scanf("%f
#include
void main()
{
int a,b;
float x,y;
char c1,c2;
scanf("a=%d b=%d",&a,&b);
scanf("%f%e",&x,&y);
scanf("%c%c",&c1,&c2);
printf(%d%d%f%f%c%c);
}
老运行不正常 请 大侠知道错误 提示如下
Compiling...
lianxi1-3.cpp
e:\c程序源码文件包\lianxi1-3.cpp(10) :error C2143:syntax error :missing ')' before '%'
e:\c程序源码文件包\lianxi1-3.cpp(10) :error C2660:'printf' :function does not take 0 parameters
e:\c程序源码文件包\lianxi1-3.cpp(10) :error C2065:'d' :undeclared identifier
e:\c程序源码文件包\lianxi1-3.cpp(10) :error C2065:'f' :undeclared identifier
e:\c程序源码文件包\lianxi1-3.cpp(10) :error C2065:'c' :undeclared identifier
e:\c程序源码文件包\lianxi1-3.cpp(10) :error C2059:syntax error :')'
Error executing cl.exe.

#include void main() { int a,b; float x,y; char c1,c2; scanf("a=%d b=%d",&a,&b); scanf("%f#includevoid main(){int a,b;float x,y;char c1,c2;scanf("a=%d b=%d",&a,&b);scanf("%f%e",&x,&y);scanf("%c%c",&c1,&c2);printf(%d%d%f%f%c%c);}老运行不正常 请
#include
void main()
{
int a,b;
float x,y;
char c1,c2;
scanf("a=%d b=%d",&a,&b);
scanf("%f%f",&x,&y);
scanf("%c%c",&c1,&c2);
printf("%d,%d\n%f,%f\n%c,%c\n",a,b,x,y,c1,c2);
}