In c++ how would I create the following class in order to passthe given test case:
The GameBoard Class
This class is responsible for holding a game board of dice forBoggle. A Boggle board is a 4 x 4 grid of dice. In this case, youwill only need to store the resulting characters from rolling the16 dice. The constructor takes in a string composed of the 16characters to be placed in the grid. This class should have thefollowing additional methods:
- GetLetterByRowCol (int row, int col)
- Returns the character at the specified row and column.
- ShowBoard ()
- Returns a string representation of
OROR
- Returns a string representation of