Beden Kitle İndeksi Hesaplama

Beden Kitle indeksi : Kilo / Boy(m) * Boy(m)

import java.util.Scanner; 

public class Test {
    public static void main(String[] args) {     

    Scanner scanner = new Scanner(System.in);
    System.out.print("Lütfen kilounuzu girin: ");

    int kilo = scanner.nextInt();
    System.out.print("Lütfen boyunuzu girin: ");

    double boy = scanner.nextDouble();
    double bki = kilo / (boy * boy);

    System.out.print("Beden Kitle İndeksiniz: "+ bki);
}}