Nice, here’s my solution:
#include <iostream>
#include <string>
int main()
{
// introduce the game
constexpr int WORD_LENGTH = 5;
std::cout << "Welcome to Bulls and Cows, a fun word game." << std::endl;
std::cout << "Can you guess the " << WORD_LENGTH;
std::cout << " letter isogram I'm thinking of?" << std::endl;
// get a guess from the player
std::cout << "Enter your guess: ";
std::string Guess = "";
std::cin >> Guess;
// repeat the guess back to the player
std::cout << "You guessed " << Guess << std::endl;
return 0;
}
