|
|
|
@ -39,9 +39,9 @@ public class WeightCalculation {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
|
|
WeightCalculation input = new WeightCalculation("N", "2021-06-01", "2022-07-13",407);
|
|
|
|
|
WeightCalculation input = new WeightCalculation("N", "2022-03-01", "2022-07-13",134);
|
|
|
|
|
|
|
|
|
|
float weight = input.estimateHuman(2, 10, 1, 30);
|
|
|
|
|
float weight = input.estimateHuman(10, 0, 6, 59);
|
|
|
|
|
|
|
|
|
|
System.out.println(weight);
|
|
|
|
|
}
|
|
|
|
|