mirror of
https://github.com/Estom/notes.git
synced 2026-02-03 10:33:35 +08:00
18 lines
248 B
C++
18 lines
248 B
C++
#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;
|
|
} |