In have been coding a small program to calculate the % body fat. But is giving the error C2064 as above. Any help will be appreciated guys!
The error is here;
/Compute Body fat percentage for male
if (gender == "Male"){
BFat = 495/(1.0324-.19077(log(abdomen-neck))+.15456(log(height)))-450; // THE ERROR IS HERE
}
else if (gender == "Female"){
BFat = 495/(1.29579-.35004(log(abdomen+hip-neck))+.22100(log(height)))-450; // THE ERROR IS HEAR
}
cout << "The body fat percentage content is : " << BFat;
return 0;
}