正在加载图片...
③ 函数调用 #include <iostream.h> 函数实现,无 须函数声明 int max(int a,int b) { if (a b)return(a);else return(b); mainO 函数调用 { int x,y; cin >>x>>y; cout <max(x+5,y-3); 3 司 LoCcS函数调用 #include <iostream.h> int max(int a, int b) { if (a > b) return(a); else return(b); } main() { int x, y; cin >> x >> y; cout << max(x + 5, y - 3); } 函数调用 函数实现,无 须函数声明
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有