Created
June 18, 2022 08:29
-
-
Save paley777/cb47a1d52a2cb4361d201338934b6161 to your computer and use it in GitHub Desktop.
calculate ideal body weight using broca's formula
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
tinggi = int(input("Masukan tinggi badan dalam CM: ")) | |
bbnorm = tinggi-100 | |
bbideal = bbnorm-10/100 | |
print("\nBerat Normal: %d Kg" %bbnorm) | |
print("\nBerat Ideal: %d Kg" %bbideal) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment