Ответы
Ответ дал:
0
#include<iostream>
using namespace std;
int d(int);
int main()
{
cout<<"enter...";
int i;
cin>>i;
cout<<d(i*2)<<endl;
system("pause");
return 0;
}
int d(int n)
{
if(n==2)
return 2;
else
return d(n)*d(n-2);
}
using namespace std;
int d(int);
int main()
{
cout<<"enter...";
int i;
cin>>i;
cout<<d(i*2)<<endl;
system("pause");
return 0;
}
int d(int n)
{
if(n==2)
return 2;
else
return d(n)*d(n-2);
}
Вас заинтересует
2 года назад
7 лет назад
10 лет назад
10 лет назад
10 лет назад
10 лет назад