For this assignment, you will create a program iteratively, at each part adding more to the program. This is similar to the procedure that you should use to write any program. The difference is that, in the case of this assignment, you need to save the source code created as you iteratively refine your program. More specifically, save the source code for each part of the assignment described below (save them in separate projects), because you will be required to turn in each version of the program.
Part 1
Consider the following verses from the children's song called "The Wheels on the Bus":
the wheels on the bus go round and round round and round round and round the wheels on the bus go round and round all through the town the doors on the bus go open and shut open and shut open and shut the doors on the bus go open and shut all through the town the people on the bus go in and out in and out in and out the people on the bus go in and out all through the town
Write a program called bus1.cpp to generate the output above. It should look exactly as it does above so make sure there is a blank line between each verse. Your program should consist of one function called main. This function has no parameters.
Part 2
Modify bus1.cpp to be modular including at least one other function (besides the main function) with three parameters:
Part 3
Modify bus2.cpp to produce a program that prompts the user for input that will be used in the song; save the modified program as bus3.cpp. Your program must prompt the user for three different objects and object movements as shown in the example run below. User-entered strings are separated by white space so three variables are needed to store the object and its two movements, as shown in the example below.
Let's sing three verses of the song, Wheels on the Bus. Please enter a bus object: wheels how does this object move, enter two adjectives: round round the wheels on the bus go round and round round and round round and round the wheels on the bus go round and round all through the town Please enter a bus object: doors how does this object move, enter two adjectives: open shut the doors on the bus go open and shut open and shut open and shut the doors on the bus go open and shut all through the town Please enter a bus object: people how does this object move, enter two adjectives: in out the people on the bus go in and out in and out in and out the people on the bus go in and out all through the town