subject
Computers and Technology, 08.05.2021 01:00 grey00

1 2
3
4 Please include a README document that details the input format for your program. This document will be used by us to create test case data
5
6 Write a program that:
7
8 Accepts from the user at runtime multiple ANIMALS. Each ANIMAL has a NAME, BIRTHDAY (including year, month, and day), and COLOR. It is also of a particular SPECIES which the user will specify. Input SPECIES can be DOG, CAT, and SHEEP. You may define the input format and field order in any way you wish so long as a user is able to input up to 100 animals at one time.
9
10 Each SPECIES can make a particular sound.
11
12 DOGS say "bark"
13 CATS say "meow
14 SHEEP say "baa"
15 Identify the oldest ANIMAL of the most common SPECIES. Display to the user the following message about this ANIMAL: "NAME, the COLOR SPECIES says SOUND!"
16
17 EXAMPLES
18 input:
19 Jack the white dog born on January 1st, 2016
20 Spot the black dog born on March 8th, 2015
21 Garfield the orange cat born on September 17, 1988
22
23 output:
24 Spot, the black dog says bark!
25
26 input:
27 Spike, 1/1/2020, white, dog
28 Sandy, 3/5/2018, blue, cat
29 Fluffy, 2/29/2016, black, sheep
30 Garfield, 9/17/1998, orange, cat
31
32 output:
33 Garfield, the orange cat says meow! ^
1
2
3
4 Please include a README document that details the input format for your program. This document will be used by us to create test case data
5
6 Write a program that:
7
8 Accepts fron the user at runtime multiple ANIMALS. Each ANIMAL has a NAME, BIRTHDAY (including year, month, and day), and COLOR. It is also of a particular SPECIES which the user will specify. Input SPECIES can be DOG, CAT, and SHEEP. You may define the input format and field order in any way you wish so long as a user is able to input up to 100 animals at one time.
9
10 Each SPECIES can make a particular sound.
11
12 DOGS say "bark"
13 CATS say "meow
14 SHEEP say "baa"
15 Identify the oldest ANIMAL of the most common SPECIES. Display to the user the following message about this ANIMAL: "NAME, the COLOR SPECIES says SOUND!"
16
17 EXAMPLES
18 input:
19 Jack the white dog born on January 1st, 2016
20 Spot the black dog born on March 8th, 2015
21 Garfield the orange cat born on September 17, 1988
22
23 output:
24 Spot, the black dog says bark!
25
26 input
27 Spike, 1/1/2020, white, dog
28 Sandy 3/5/2018, blue, cat
29 Fluffy,2/29/2016, black, sheep
30 Garfield, 9/17/1998, orange, cat
31
32 output:
33 Garfield, the orange cat says meow!
33

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
This is not a factor that you should use to determine the content of your presentation. your audience your goals your purpose your technology
Answers: 1
question
Computers and Technology, 22.06.2019 19:10
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
Your business be in google top rank.more the rank more the business leads.for best seo and digital marketing services be confident to contact you can get best seo solutions by assistance experts provide digital marketing, website development, seo expert services and social media internet seo expert services your branding solutions. seo expert services ,best seo expert services,online seo expert services,
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
Answers: 1
You know the right answer?
1 2
3
4 Please include a README document that details the input format for your progr...
Questions
question
Chemistry, 22.04.2021 06:00
question
Mathematics, 22.04.2021 06:00
question
Health, 22.04.2021 06:00
question
Mathematics, 22.04.2021 06:00
question
Mathematics, 22.04.2021 06:00
question
English, 22.04.2021 06:00
question
Mathematics, 22.04.2021 06:00
question
Mathematics, 22.04.2021 06:00
Questions on the website: 13722367