C语言 #includeint main(void){\x09int a = 10; \x09int b = 90;\x09int c = sum(a,b);\x09return c;}
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 03:17:08
C语言 #includeint main(void){\x09int a = 10; \x09int b = 90;\x09int c = sum(a,b);\x09return c;}
C语言
#include
int main(void)
{
\x09int a = 10;
\x09int b = 90;
\x09int c = sum(a,b);
\x09return c;
}
C语言 #includeint main(void){\x09int a = 10; \x09int b = 90;\x09int c = sum(a,b);\x09return c;}
#include<stdio.h>
int sum( int a, int b)//增加函数定义
{
\x09return a+b ;
}
int main(void)
{
\x09int a = 10;
\x09int b = 90;
\x09int c = sum(a,b);
\x09printf("%d\n", c ); //输出结果
\x09return 0; //
}