Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int A (int m, n) {
- If (m==0) {
- n+1
- else if ((m>0) && (n=0)) {
- return A(m-1,1) }
- else if ((m>-) && (n>0)) {
- return A(m-1, A(m, n-1))
- }
- else {
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement