Simple program in Java for calculate the IMC