### I get the wrong results

Hello. i have a problem more with my program

 ``12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455`` ``````#include #include using namespace std; int main() { string gender; float water; float hours; float drinks; float weigth; cout << "Please enter your gender. M/F: "; cin >> gender; if (gender == "M" || gender == "m"){ float water = 0.68; } if (gender == "F" || gender == "f"){ float water = 0.55; } cout << "hours you've been drinking "; cin >> hours; cout<<"number of beers "; cin >> drinks; double pureA = drinks * 12.0; // grams of alchohol ex. 15 * 12 = 180g pure alchohol cout <<"type your weigths "; cin>> weigth; // pure alcohol in gram / weigth * waterpercent cin.ignore(); float burn = (weigth / 10.0) * hours; // the pr hour burn ex. 72 / 10 * 3 = 21,6 float g = weigth * water; // Weigth * water float h = pureA - burn; // the overall pure alcohol - the burn double result = h / g; // the BAC if (result <= 0.5|| result > 0.5){ cout<<"you are too drunk to drive, you BAC is:"<<" "<

i think the problem is this part here `float g = weigth * water; // Weigth * water `
if we take the weight and set to to lets say 60 and the the male water % that's 0.68 and * them then i should be 40,8 but in my program it ends out as something like "1.23535e-035" so something is clearly wrong