标签:code ret using console style cout char space NPU
1 #include <iostream> 2 3 /* run this program using the console pauser or add your own getch, system("pause") or input loop */ 4 using namespace std; 5 int main(int argc, char** argv) { 6 int max(int x,int y); 7 int a,b,m; 8 cin>>a>>b; 9 m=max(a,b); 10 cout <<"max="<<m<<endl; 11 return 0; 12 } 13 14 int max(int x,int y) 15 { 16 int z; 17 if(x>y)z=x; 18 else z=y; 19 return(z); 20 }
标签:code ret using console style cout char space NPU
原文地址:https://www.cnblogs.com/borter/p/9401531.html