Returns en funciones con bool #26
-
En las clases nos aclararon que por funcion debe haber un solo |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Siempre, un solo |
Beta Was this translation helpful? Give feedback.
-
Gracias! Pero ahora tengo otro problema. Cuando hice la funcion, use el |
Beta Was this translation helpful? Give feedback.
Siempre, un solo
return
por función. Pero quizás, puedas hacer algo comoreturn a<b;
, que retornaría un valor booleano, en un solo lugar.