Andrew_Manu

Date wollok

Jul 2nd, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.30 KB | None | 0 0
  1. const absoluto.{n => n*-1}
  2. funcion lambda
  3. absoluto.Apply(15);
  4.  
  5. const maximo.{x,y => max(x,y)}
  6.  
  7. const mayor {n,m => max(m,n)}
  8.  
  9. mayor.Apply(1,2);
  10.  
  11.  
  12. PONER LA FECHA EN UN OBJETO FEHCA DE NACIMIENTO DEL PERRO
  13. Y LA FECHA DE HOY
  14.  
  15.  
  16. method max( pv, sv){
  17.     if(pv > sv) return pv
  18.     else return sv
  19. }
Advertisement
Add Comment
Please, Sign In to add comment