Created
September 15, 2020 00:27
-
-
Save GuilhermeManzano/849a636a5a7e21b832b6e8a965b7da3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package exerciciosJava; | |
public class Cavalos { | |
public static void main(String[] args) { | |
double m, h, t, cavalos; | |
m = 21; | |
h = 2.2; | |
t = 1.4; | |
cavalos = (m * h / t) / 745.6999; | |
System.out.println("A quantidade de cavalos necessários é " + cavalos); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment