Created
January 20, 2022 22:38
-
-
Save smyy96/e124e3c444d9de3e91afa5d8aa921b14 to your computer and use it in GitHub Desktop.
Pativa Java 101 Ödev 1
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
import java.util.Scanner; | |
public class VucutKitleİndeks { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
double boy,kilo; | |
System.out.print("Lütfen boyunuzu (metre cinsinde) giriniz :"); | |
boy=input.nextDouble(); | |
System.out.print("Lütfen kilonuzu giriniz :"); | |
kilo=input.nextDouble(); | |
//boy=boy*10; | |
System.out.print("Vücut Kitle İndeksiniz :"+(kilo/(boy*boy))); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vücut Kitle İndeksi Hesaplama