Page 1 of 1

C++ PROGRAMMING Utilizing C++ programming could someone assist in helping me understanding and answering the question be

Posted: Sun Jul 03, 2022 11:22 am
by answerhappygod
C++ PROGRAMMING
Utilizing C++ programming could someone assist in helpingme understanding and answering the question below accuratelyplease? I need help.
The player chooses a category, your program must randomly selecta puzzle in that category from the array of Puzzle structs. Since apuzzle in any category can be randomly selected, it is important torepeatedly generate random puzzles until a puzzle in thedesired category is found. After selecting the puzzle, thecharacter ‘#’ is used to hide the letters of the puzzle. If thereare spaces or dashes (‘-‘) in the puzzle, these are revealed to theplayer.
for example, the puzzle “FULL-LENGTH WALL MIRROR” would bedisplayed as follows: ####-###### #### ######
struct Puzzle{
string category;
char puzzle[80];
};