↧
Answer by Remy Lebeau for How do I get BMI correct?
Your getData() function takes its parameters by value, so any modifications it makes to them are not reflected back to the variables in main(), thus they are still 0.0 when passed to calcBMI().You need...
View ArticleHow do I get BMI correct?
Having an issue with my calculation to determine BMI. Please advise me where I am going wrong as the answer always returns as -nan(ind). I'm sure that the problem lies with the calculation itself as I...
View Article
More Pages to Explore .....