Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Bartleby Related Questions Icon

Related questions

bartleby

Concept explainers

Question
100%

 i need you to use object-orientated programming

please follow the screenshot as a reference which is posted. 

can you make it so it reads from the kongcrew.txt file instead of typing out the info?

can you also make where it lists all of the specifications with the information below like the bolded text in the picture? example below

Name       Sit      Walk        Swing ....... and so on with the info below (make one print out before adding the second ss and after so it shows the updated info of how many bananas the monkeys have before and after)

FOLLOW THE INSTRUCTIONS AND DO EVERYTHING ASKED AND REQUIRED

instructions in the picture, KongCrew.txt file with the info below.

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

This is a part of OOP class work, which we have been doing in class. Here are more characteristics
of a monkey that Britannica says.
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 the 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 applies in your program. A part of KongCrew.txt is shown in the following.
Jump Banana
0
3
Name
Sit
Donkey Kong Y
Chunky Kong N
Walk
Y
Swing
Y
O
Leap
N
Y
2
1
Year Family
1981 Donkey
N Y
Create subdirectory WK13;
Create DK-OOP.cpp
You need to use an array of objects in this program.
Develop the program that can answer the following questions related to Donkey Kong.
Each answer can be a separate function;
o
2007 Dixie
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 delete all the Kongs.
.
o Find and list the Donkey family members who cannot leap; take a snap shot:
snap1.jpg:
o Update the Banana field of all the KongCrew such Banana += Jump * 5.
List the KongCrew who has more than 15 bananas; take a snap shot:
snap2.jpg.
Find and list the ones who introduced before 2000; take a snap shot: snap3.jpg.
expand button
Transcribed Image Text:This is a part of OOP class work, which we have been doing in class. Here are more characteristics of a monkey that Britannica says. 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 the 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 applies in your program. A part of KongCrew.txt is shown in the following. Jump Banana 0 3 Name Sit Donkey Kong Y Chunky Kong N Walk Y Swing Y O Leap N Y 2 1 Year Family 1981 Donkey N Y Create subdirectory WK13; Create DK-OOP.cpp You need to use an array of objects in this program. Develop the program that can answer the following questions related to Donkey Kong. Each answer can be a separate function; o 2007 Dixie 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 delete all the Kongs. . o Find and list the Donkey family members who cannot leap; take a snap shot: snap1.jpg: o Update the Banana field of all the KongCrew such Banana += Jump * 5. List the KongCrew who has more than 15 bananas; take a snap shot: snap2.jpg. Find and list the ones who introduced before 2000; take a snap shot: snap3.jpg.
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education