Create a C++ app that makes random dog sounds (a BarkFest).
Create a Visual Studio C++ Console Application named ex5_barkfest. This new project will provide a file named ex5_barkfest.cpp.
Edit the ex5_barkfest.cpp file to create your BarkFest app.
Copy/paste the barkfest[] array definition from these provided code snippets Download provided code snippets.
Generate a random number of sounds to make. The number of sounds should range from 1 to the value of constant BARK_COUNT (use the snippet).
In a for loop, select each random sound from the barkfest[] array and display it to the console. Use sizeof() to determine the highest array index (see the snippets).
Checkpoint: Try running your code and enjoy the dog symphony. Fix any errors so your app runs without crashing.
Once your app runs, seed the random number generator with srand (see the snippets). Each run should display a different dog symphony.
Extra 5 points: add a loop to play dog symphonies until the user wants to quit. Use char input for this.
Check your code for proper indentation, comments, and white space (blank lines).
Run your code one last time to make sure you didn’t introduce a typo.
Submit your completed .cpp file.
Sample Output
Place this order or similar order and get an amazing discount. USE Discount code “GET20” for 20% discount