diff --git a/666/02.2.0.cpp b/666/02.2.0.cpp new file mode 100644 index 0000000..b63f5ee --- /dev/null +++ b/666/02.2.0.cpp @@ -0,0 +1,18 @@ +#include +using namespace std; + void bjdx(int a,int b){ + + + if(a>b) + + cout<>a>>b; + bjdx(a,b); + return 0; +} diff --git a/666/02.2.1 b/666/02.2.1 new file mode 100644 index 0000000..93c99a2 Binary files /dev/null and b/666/02.2.1 differ diff --git a/666/02.2.2.cpp b/666/02.2.2.cpp new file mode 100644 index 0000000..0627ee3 --- /dev/null +++ b/666/02.2.2.cpp @@ -0,0 +1,16 @@ +#include +using namespace std; +int bjdx(int a){ + int b=1; + for(int i=1;i<=a;i++) + b=b*i; + + return b; + } +int main(){ + int pdd; + cin>>pdd; + cout<