#include <iostream.h> int mihanshu(int a,int b) { int c; if(a==0) cout<<c<<endl ; else c=b*mihanshu(a-1,b); }
#include <iostream.h> int mihanshu(int a,int b) { int c=0; if(a==0) cout<<c<<endl ; else c=b*mihanshu(a-1,b); return c; } void main() { int a,b,c; cin>>a>>b; c=mihanshu(a,b); }
#include <iostream.h> int mihanshu(int a,int b) { int c=0; if(a==0) c = 1; else c=b * mihanshu(a-1,b); return c; } void main() { int a,b,c; cin>>a>>b; c=mihanshu(a,b); cout << c << endl; }