Time:05-18
CodePudding user response:
you and this is a class of
//calculation formula for men: (height cm - 80) * 70%=standard weight, women: (height cm - 70) * 60%=standard weight, A double height=180;//height System. The out. Printf (" men's standard weight: % s % n ", (height - 80) * 0.7); System. Out. Printf (" female standard weight: % n % s ", (height - 70) * 0.6); //men's standard weight: 70.0 //female standard weight: 66.0
Page link:https//www.codepudding.com/Mobile/111430.html