[C++] Guessing Game

#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;

int main()
{
    int guess;
    int number;
    srand(time(0));
    number = 1 + (rand() % 100);
    do
    {
        cout << "Guess a number" << endl;
        cin >> guess;
        if (guess == number)
        {
            cout << "Congrats! Your guess is correct!" << endl;
        }
        else if (guess > number)
        {
            cout << "Incorrect. Your guess is too high!" << endl;
        }
        else if (guess < number)
        {
            cout << "Incorrect. Your guess is too low!" << endl;
        }
    } while (guess < number || guess > number);
    return 0;
}