#include "stdafx.h" #include #include using namespace std; int main() { int count= 0; int answer; int guess; srand(time(0)); guess = rand() %101; do{ cout << "Enter a number between 1 and 10"; cin>> answer; } while (answer > guess); { cout <<"Your guess is too high" << endl; } else if (answer < guess); error here Intellisense: expected a statement { cout << "Your guess is too low" << endl; } else if{count++);error here Intellisense: expected a statement }while (answer!=guess); if (answer == guess) cout <<"You guessed it" <