Hello,
Here’s the screenshot of the console output of the challenge.
The code is:-
#include<iostream>
#include<string>
#include<conio.h>
using namespace std;
int main()
{
//introduce the rules and regulations
constexpr int WORD_LENGTH = 9;
cout << endl;
cout << "Welcome to Bulls and Cows, an interesting Word Game!\n";
cout << endl;
cout << "Can you gess the " << WORD_LENGTH;
cout << " letter isogram that I'm thinking of?\n";
cout << endl;
//get a guess from the player
string Guess = "";
cout << "Enter your Guess: ";
cin >> Guess;
cout << endl;
//repeat the guess
cout << "Enter your Guess: ";
cin >> Guess;
return 0;
}
