镇乃天子
This commit is contained in:
16
20260314/25b.cpp
Normal file
16
20260314/25b.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
void w(int a,int b){
|
||||
if(a>b)
|
||||
cout<<a<<endl;
|
||||
else
|
||||
cout<<b<<endl;
|
||||
|
||||
}
|
||||
int main(){
|
||||
int a,b;
|
||||
cout<<"请输入两个整数:";
|
||||
cin>>a>>b;
|
||||
w(a,b);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user