This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 13th, 2012  |  syntax: None  |  size: 0.26 KB  |  views: 42  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data