c语言上机实验

c语言上机实验


2024年3月31日发(作者:)

实验3

(1) 程序

#include

int main()

{

int a=3,b=5,c=7,x=1,y,z;

a=b=c;

x+2=5;

z=y+3;

return 0;

}

程序错误;提示语言

--------------------Configuration: fd - Win32 Debug--------------------

C:Documents and SettingsAdministrator桌面(2) : error C2447: missing function

header (old-style formal list?)

执行 时出错.

- 1 error(s), 0 warning(s)

修改为:

#include

int main()

{

int a=3,b=5,c=7,x=1,y,z;

a=b=c;

x=5+3;

z=y+3;

return 0;

}


发布者:admin,转转请注明出处:http://www.yc00.com/news/1711864543a1968106.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信