please use template to finish the following program.
use iostream only.
template
#include <iostream>
using namespace std;
conts int GUESS_LIMIT = 6;
bool checkGuess(string word, char guess, bool matched[])
{ }
Void displayGameState(string word, bool matched [ ], intguesses)
{ }
int main()
{ int guesses = 0;
string word = “ disambiguation” ;
bool matched [ word.length() ];
char guess;
for ( int
OR
OR