Assignment: Use OOP to implement certain details and requirements for the assignment. The lab is about donkey kong characters and their statistics and information which is provided on a Monkey.txt file that must be read in. Some information of monkeys is below which will be used: Most species are arboreal, using all four limbs to leap from tree to tree. They can sit upright and stand erect. Most species run along branches rather than swinging arm over arm like apes. Monkeys are highly social omnivores, organized in clans as large as several hundred individuals headed by an old male. The underlines are at least behavior (member functions) that you are asked to add to your OOP program such as Leap(string, string), Sit(), Walk(), Swing()... Here are some descriptions of a monkey that must apply to your program. The information from the Monkey.txt file will be used along with the format below. Name Sit Walk Swing Leap Jump Banana Year Family Donkey Kong Y Y Y N 3 3 1981 Donkey Chunky Kong N Y Y Y 2 5 2007 Dixie You need to use an array of objects in this program Develop the program that can answer the following question related to Donkey Kong. Each answer can be a different function BEFORE STEP 1, POST ALL OF THE MONKEYS IN THE FORMAT ABOVE WITH THEIR INFORMATION AND STATS Develop a constructor that makes Donkey Family leap from “Papaya tree” to “Banana tree, but Dixie family from “Coconut tree” to “Rubber tree” Develop a destructor that deletes all the kongs Find and list the Donkey family members who cannot leap; take a screenshot and post Update the Banana field of all the Monkeys such Banana += Jump *5. List the Monkeys who have more than 15 bananas; take a screenshot and post Find and list the ones that were introduced before 1995; take a screenshot and post AFTER DONE POST THE MONKEYS AGAIN IN THE FORMAT ABOVE BUT WITH THE UPDATED BANANA COUNT AND INFO AND THEIR STATS -HAVE THE PROGRAM READ FROM THE TXT FILE AND USE OOP instructions above, Monkey.txt file with the info below. Monkey.txt Donkey Kong Y Y Y N 3 3 1981 Donkey Cranky Kong Y Y N Y 1 0 1985 Donkey Dixie Kong Y Y N Y 2 2 2001 Dixie Kiddy Kong Y N Y N 1 1 2003 Dixie Wrinkly Kong N N Y Y 1 2 1985 Donkey Tiny Kong N N Y Y 2 1 2001 Dixie Diddy Kong Y Y Y N 3 2 1985 Donkey Uncle Kong Y N Y N 1 2 1990 Donkey Chunky Kong N Y Y Y 2 5 2007 Dixie
Assignment:
Use OOP to implement certain details and requirements for the assignment. The lab is about donkey kong characters and their statistics and information which is provided on a Monkey.txt file that must be read in. Some information of monkeys is below which will be used:
- Most species are arboreal, using all four limbs to leap from tree to tree. They can sit upright and stand erect. Most species run along branches rather than swinging arm over arm like apes. Monkeys are highly social omnivores, organized in clans as large as several hundred individuals headed by an old male.
The underlines are at least behavior (member functions) that you are asked to add to your OOP program such as Leap(string, string), Sit(), Walk(), Swing()... Here are some descriptions of a monkey that must apply to your program. The information from the Monkey.txt file will be used along with the format below.
Name Sit Walk Swing Leap Jump Banana Year Family
Donkey Kong Y Y Y N 3 3 1981 Donkey
Chunky Kong N Y Y Y 2 5 2007 Dixie
- You need to use an array of objects in this program
- Develop the program that can answer the following question related to Donkey Kong.
- Each answer can be a different function
- BEFORE STEP 1, POST ALL OF THE MONKEYS IN THE FORMAT ABOVE WITH THEIR INFORMATION AND STATS
- Develop a constructor that makes Donkey Family leap from “Papaya tree” to “Banana tree, but Dixie family from “Coconut tree” to “Rubber tree”
- Develop a destructor that deletes all the kongs
- Find and list the Donkey family members who cannot leap; take a screenshot and post
- Update the Banana field of all the Monkeys such Banana += Jump *5.
- List the Monkeys who have more than 15 bananas; take a screenshot and post
- Find and list the ones that were introduced before 1995; take a screenshot and post
- AFTER DONE POST THE MONKEYS AGAIN IN THE FORMAT ABOVE BUT WITH THE UPDATED BANANA COUNT AND INFO AND THEIR STATS
-HAVE THE PROGRAM READ FROM THE TXT FILE AND USE OOP
instructions above, Monkey.txt file with the info below.
Monkey.txt
Donkey Kong Y Y Y N 3 3 1981 Donkey
Cranky Kong Y Y N Y 1 0 1985 Donkey
Dixie Kong Y Y N Y 2 2 2001 Dixie
Kiddy Kong Y N Y N 1 1 2003 Dixie
Wrinkly Kong N N Y Y 1 2 1985 Donkey
Tiny Kong N N Y Y 2 1 2001 Dixie
Diddy Kong Y Y Y N 3 2 1985 Donkey
Uncle Kong Y N Y N 1 2 1990 Donkey
Chunky Kong N Y Y Y 2 5 2007 Dixie


Step by step
Solved in 4 steps with 3 images









