mirror of
https://github.com/Estom/notes.git
synced 2026-04-03 02:49:25 +08:00
括号里面
This commit is contained in:
18
code_segment/shili.cpp
Normal file
18
code_segment/shili.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include<iostream>
|
||||
using namespace std;
|
||||
int add(int a,int b){
|
||||
int c = a+b;
|
||||
return c;
|
||||
}
|
||||
|
||||
int main(){
|
||||
int a=10,b=11;
|
||||
add(a,b);
|
||||
int m = 10;
|
||||
while(m--){
|
||||
if(m>5){
|
||||
cout<<m<<endl;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user