HELP WITH CODE!

For some reason this code isnt working that well...I need to input the users gender then based off that their height and weight and to exit enter X or x

Last edited on
if would help if you used code tags

I don't know what this is but it can't be right while (cout << " " << endl);

You should set your int values =0
1
2
int height;
int weight;


again, no idea what this does, but can't be right
1
2
do{
do{


This just means your running the code one time right ? Why do you need a loop to do that ?

1
2
3
4
5
6
7
bool end = false;

end = false;
exit(1);

}
while(!end);


That's about all I can tell until you format it with code tags under Format, click source code >>
Last edited on
Topic archived. No new replies allowed.