of 1

# PRG/411 Week 3 Individual Assignment

2. Individual Hands-on Assignment: Object-Oriented Guessing Game, Part Two • Resources: University of Phoenix Material: Programming Assignment Worksheet • Use the object-oriented guessing game program developed in Week Two. • Add functionality to store the guesses the user makes in an array up to a maximum number of guesses stored in a constant. Display the list of guesses after the correct guess has been made. The list will be stored in an array of objects from a new class you create called Guess. • Create three other classes in addition to Guess: High, Low, and Correct. These three will inherit from Guess. The array will use inheritance and polymorphism to display the guess made and a string of whether it was high, low, or correct for each guess. The high, low, or correct string needs to come from a method in these classes. Allow the user to decide if he or she wants to play another game. • Include the proper header and make sure you properly comment your program. Also, make sure you use proper coding conventions. • Complete the University of Phoenix Material: Programming Assignment Worksheet, located on your student website. • Submit the worksheet with an attached .zip file, with the source and executables
Published on: Mar 4, 2016

#### Transcripts - PRG/411 Week 3 Individual Assignment

• 1. PRG/411 C++ Course - Week 3 Individual Hands-on Assignment: Object-Oriented Guessing Game, Part Two· Resources: University of Phoenix Material: Programming Assignment Worksheet· Use the object-oriented guessing game program developed in Week Two.· Add functionality to store the guesses the user makes in an array up to a maximum number of guesses storedin a constant. Display the list of guesses after the correct guess has been made. The list will be stored in an array ofobjects from a new class you create called Guess.· Create three other classes in addition to Guess: High, Low, and Correct. These three will inherit from Guess.The array will use inheritance and polymorphism to display the guess made and a string of whether it was high, low,or correct for each guess. The high, low, or correct string needs to come from a method in these classes. Allow theuser to decide if he or she wants to play another game.· Include the proper header and make sure you properly comment your program. Also, make sure you useproper coding conventions.· Complete the University of Phoenix Material: Programming Assignment Worksheet, located on your studentwebsite.· Submit the worksheet with an attached .zip file, with the source and executables.CLICK HERE TO GET THE SOLUTION !!!!!!!!!!