【填空题】以下程序对输入的两个整数 按从大到小顺序输出 请分析程序填空。 main() {intx y z; scan
已帮助 人
【填空题】以下程序对输入的两个整数,按从大到小顺序输出,请分析程序填空。 main() {intx,y,z; scanf("%d,%d",&x,&y); if() {z=x;} printf("%d,%d",x,y); }

回答
共1条回复-
参考答案:#includeusing namespace std;int Max(int,int);int _tmain(int argc, _TCHAR* argv[]){ int a,b; cout cin>>a>>b; cout return 0;}int Max(int x,int y){ if(x>y) return x; else return y; }
