diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 63b178c..9617c18 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,6 +3,7 @@
+
@@ -33,16 +34,16 @@
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
@@ -415,7 +416,14 @@
1563260530766
-
+
+ 1563266562955
+
+
+
+ 1563266562955
+
+
@@ -423,6 +431,7 @@
+
@@ -511,7 +520,8 @@
-
+
+
@@ -599,16 +609,16 @@
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/src/FitnessTest_M.java b/src/FitnessTest_M.java
index dabc4fd..c6e0b04 100644
--- a/src/FitnessTest_M.java
+++ b/src/FitnessTest_M.java
@@ -109,7 +109,10 @@ public class FitnessTest_M extends JFrame {
float height = Float.parseFloat(height_tf.getText());
float weight = Float.parseFloat(weight_tf.getText());
int bmi = (int) (weight / (height*height));
- System.out.println(bmi);
+ JOptionPane.showMessageDialog(null,
+ "Ihr BMI: " + bmi,
+ "Ergebnis",
+ JOptionPane.WARNING_MESSAGE);
}
}
});