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

song Bingo. The catch: the name of the dog must be stored

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 uirements: . 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] '''I', 'N', 'G', '0'; Any time the word BINGO needs to be printed, even partially, it must be by accessing the array - For printing the partial name, this means that you must access the array to print the letters in BINGO . A sample run of your program should look exactly like: There was a farmer had a dog and B 1 N G 0 as his name-o BING0 BING0 BING0 And B 1 N G 0 was his name-o There was a farmer had a dog and B 1 N G 0 as his name-o ING0 ING0 ING0 And B 1 N G 0 was his name-o There was a farmer had a dog and B 1 N G 0 as his name-o N G 0 N G 0 N G 0 And B I N G 0 as his name-o

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!