Avances de mi aplicación para calcular índice de masa corporal [ESP_ENG]

Como este último tiempo estuve aprendiendo a programar en kotlin todo lo que he aprendido está basado en videos tutoriales y cuento aún con conocimientos muy básicos.
Prometo hasta desarrollar interfaces es algo complejo y complicado pero al tener buenas bases logro hacer algunas cosas por mi cuenta.

Since I've been learning to program in Kotlin recently, everything I've learned has been based on video tutorials, and I still have very basic knowledge. I promise that even developing interfaces is complex and complicated, but with a solid foundation, I can do some things on my own.
Esta aplicación lo único que hará es calcular el índice de masa corporal. Hasta ahora logré agregar funciones que calculan la altura el peso y la edad y están funcionando correctamente.
This app will only calculate your body mass index. So far, I've managed to add features that calculate height, weight, and age, and they're working correctly.

calcu2.jpg
La lógica para manejar el peso y la edad son prácticamente la misma y no resultó muy complejo de ejecutar sino lo que resulta complejo con este lenguaje de programación es mantener un orden ya que requiere muchas cosas específicas para un correcto funcionamiento.
Agregué una condición en cada botón que en el caso de que el peso sea uno no pueda seguir restando más y en el caso que sea mayor a 200 no pueda seguir funcionando el botón del más.

The logic for handling weight and age is practically the same, and it wasn't very complex to execute. However, what's difficult with this programming language is maintaining order, as it requires many specific steps for proper operation. I added a condition to each button so that if the weight is equal to one, it can't continue subtracting anything, and if it's greater than 200, the plus button can't continue working.


0
0
0.000
1 comments
avatar

Thanks for your contribution to the STEMsocial community. Feel free to join us on discord to get to know the rest of us!

Please consider delegating to the @stemsocial account (85% of the curation rewards are returned).

You may also include @stemsocial as a beneficiary of the rewards of this post to get a stronger support. 
 

0
0
0.000