forked from newde/homework
镇乃天子
This commit is contained in:
16
666/最大值.cpp
Normal file
16
666/最大值.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int mymax(int x_int,int y_int){
|
||||
if(x_int>y_int)
|
||||
return x_int;
|
||||
else;
|
||||
return y_int;
|
||||
|
||||
}
|
||||
|
||||
int main(){
|
||||
int i,j;
|
||||
cin>>i>>j;
|
||||
cout<<mymax(i,j)<<endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user