"Guess my Number" game in C++ I have recently created my first game in C++:

#include &lt;iostream&gt;
#include &lt;cstdlib&gt;
#include &lt;ctime&gt;
using namespace std;
int main()
{
    cout&lt;&lt;"\tWelcome to Guess my Number!\n";
    const unsigned short kusiLower=1;
    const unsigned short kusiHigher=100;
    srand(time(0));
    unsigned short usiComp=rand()%kusiHigher+kusiLower;
    cout&lt;&lt;"Guess a number between 1 and 100: ";
    unsigned short usiUser;
    cin&gt;&gt;usiUser;
    unsigned short usiGuesses=1;
    while(usiUser!=usiComp)
    {
        cout&lt;&lt;((usiUser&gt;usiComp)?"Your guess is too high.\n":"Your guess in too low\n");
        cout&lt;&lt;"Guess a number between 1 and 100: ";
        cin&gt;&gt;usiUser;
        ++usiGuesses;
    }
    cout&lt;&lt;"Congratulations! You guessed my number in "&lt;&lt;usiGuesses&lt;&lt;" guesses.";
}


And I came here to ask the standard question: can it be in any way optimized or improved?
a few remarks:


Use int instead of unsigned short
Don't use Hungarian naming ('kusi/usi' prefix) - nobody uses that.
Add argc/argv parameters to main
Dont import everything from std with using namespace std
Add spaces around operators (=, != , ==, >>, &lt;&lt; etc) and after 'while', 'if' etc.
You have carefully used constants for the high/low boundaries, but your print statements  don't use these constants ("Guess a number between 1 and 100:")