Question: Write a C++ program which will print the lyrics to the song Bingo. The catch: the name of the dog must be stored in a

 Write a C++ program which will print the lyrics to the

Write a C++ program which will print the lyrics to the song Bingo. The catch: the name of the dog must be stored in a constant array of characters, and this array must be used every time the dog's name needs to be printed to the screen. Requirements: Name the source file for your program program5.cpp . The following two declarations are required, in the global space: const int SIZE 5 const char dog[SIZE ',IN, G',0'1 Any time the word BINGO needs to be printed, even partially, it must be by accessing the array dog A sample run of your program should look exactly liker There was a farmer had a dog and Bingo was his name-o BING BING 0 BING 0 And Bingo was his name-o There was a farmer had a dog and Bingo was his name-o INGO ING 0 ING0 And Bingo was his name-co There was a farmer had a dog and Bingo was his name-o NG 0 NG 0 And Bingo was his name-o There was a farmer had a dop and Bingo was his name-o G 0 kG0 And Bingo was his name-o There was a farmer had a dog and Bingo was his name-o 0 0 And Bingo was his name-o There was a and Bingo was his name-o farmer had a dop And Bingo was his name-o Hints: The full name "BINGO" appears twice in each verse, with different capitalization. A function could be helpful. - The library

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!