c语言程序出现错误,请大神帮忙看下,找了半天没找到错误,希望大神帮忙,谢谢,感激不尽! p.s 本人初学

2025-05-14 14:56:52
推荐回答(1个)
回答1:

一个明显的异常

void sort(int x, int y, int z);
{
 int temp;
 if(x>y)  {temp=x; x=y; y=temp; }
 if(z else if(z else cout<}

去掉第一句末尾的分号;