~cpp #include<iostream> using namespace std; int sdd(int x, int y); void main() { cout << "숫자를 입력 하세요~ " << endl; int a, b; cin >> a >> b; cout << sdd(a,b); } int sdd(int x, int y) { return (x<3)?1:(y<2?1:(y==x?1:sdd(x-1,y)+sdd(x-1,y-1))); }