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 session1.ChiSoCanNang; | |
import java.util.Scanner; | |
public class BMI { | |
public static void main(String[] args) { | |
Scanner nhap = new Scanner(System.in); | |
double weight, heght,bmi; | |
System.out.println(" nhap vao so can nang kg"); |