Advertisement
Guest User

Untitled

a guest
Nov 13th, 2012
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public int A (int m, n) {
  2. If (m==0) {
  3.  
  4. n+1
  5.  
  6. else if ((m>0) && (n=0)) {
  7.  
  8. return A(m-1,1) }
  9.  
  10. else if ((m>-) && (n>0)) {
  11.  
  12. return A(m-1, A(m, n-1))
  13.  
  14. }
  15. else {
  16. return 0;
  17. }
  18.  
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement