//应该改成这样子
#include
using namespace std;
int sumabc(int a,int b,int c)
{//int a,b,c;
int s;
a=b+c;
s=a+b+c;
return s; }
void displayLine(void)
{ cout<<"----------------------\n"<
void main()
{
int x,y, z ,sabc;
x=y=z=8;
displayLine(); /* 画一条线 */
cout<<"\n sum=%d,sumabc(x,y,z)"<
displayLine();/* 画一条线 */
x=2; y=4; z=6;
sabc =sumabc(x, y, z); /* 在赋值语句中调用函数sumabc( ) */
cout<<"\n “ sum=%d”, sabc"<
}