- Code: Select all
int high, low, guess, num;
cout << "Is the number 50? if it's to high enter 1, to low enter 2.\n";
cin >> guess;
cout << "Is the number" <<num << " if it's to high enter 1, to low enter 2.\n";
what I don't get is how do I make the equation output the right answer. The high and low are not working i've tried it. anybody knows what i could do? plz let me know.