2. Write a program that displays the recommended weight in kilograms, given the user’s age and height in centimeters. The formula for calculating the recommended weight is
Recommended weight = (height – 100 + age %10) *0.90
Define a service class named height and include an appropriate method for getting a recommended weight of a designated height.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment