Aprendiendo como ingresar datos y hacer cálculos con Java ['ESP','ENG']

Si bien mi conocimiento en este lenguaje de programación es básico, cuando puedo aplico mis conocimientos para realizar ejercicios u herramientas de cálculo simple, en este caso unas pocas de líneas de código que a través de la consola permiten ingresar valores numéricos para calcular el área de un triángulo.

Although my knowledge of this programming language is basic, when I can I apply my knowledge to perform exercises or simple calculation tools, in this case a few lines of code that through the console allow entering numerical values ​​to calculate the area of a triangle.

sca2.jpg
Es bastante simple de replicar este código, lo que más me gusta es que Java otorga muchísimos métodos para realizar muchas cosas increíbles más allá de este tipo de ejercicios sencillos.
En los próximos artículos publicare ejercicios aplicando condicionales que son prácticamente iguales en muchos lenguajes de programación.

It is quite simple to replicate this code, what I like most is that Java provides many methods to do many incredible things beyond these types of simple exercises. In the next articles I will publish exercises applying conditionals that are practically the same in many programming languages.


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