If there is wrong practice please let me know . It also work fine

#include
#include

std::string Guess = " ";

void printIntro()
{
//introduce the game
constexpr int WORLD_Length = 5;
std::cout << "Welcome to bulls and Cows " << std::endl;
std::cout << "Can you guess the " << WORLD_Length;
std::cout << " Letter isogram Im thinking of ?\n " << std::endl;
return;
}

void GetGuess()
{

std::cout << " Guess the word sir? " << std::endl;
std::getline(std::cin, Guess);// it ignore spaces and read it two words instead of one 
return;

}
void printRepeatGuess() {
std::cout << " your guess is: " << Guess << std::endl;
return;
}
//the entry point for our application
int main()
{
printIntro();
GetGuess();
printRepeatGuess();
//repeat the guess back to them

return 0;

}

i also include iostream and string but it didnt show

Privacy & Terms