please explain wats wrong
plzCode:#include <iostream> using namespace std; int main(); { int number=9; int guess; cout << "What day is my birthday on (Between 1 and 31)" << endl; cout << "Enter your guess, please?"; cin >> guess if(guess == number) { cout << "Incredible, you are correct!" << endl; } else if(guess < number && > 0) { cout << "Your guess is too low" << endl; } else if(guess > number && < 32) { cout << "Your guess was too high" << endl; } else { cout << "You either entered a number below 1, above 31 or a decimal. Incorrect, please try again" << endl; } return 0; }![]()



LinkBack URL
About LinkBacks



