Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Here is the snippet of code I am having issues with. cout<<"So are you a male or female, Please type m/f"<<endl; cin>>sex; if (sex='M','m') { alcohol_distribution=.73; } else if (sex='F','f') { alcohol_distribution=.66; } So I know I have this terribly wrong, but i want the alcohol_distribution based on whether or … |