1
2
3
4 Please include a README document that details the input format for your progr...
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
Answers: 2
Computers and Technology, 21.06.2019 21:30
What’s the process of observing someone actually working in a career that interests you?
Answers: 1
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead w 4 epizodzie
Answers: 1
Computers and Technology, 24.06.2019 12:30
Why does the pc send out a broadcast arp prior
Answers: 1
Computers and Technology, 24.06.2019 16:50
Ramp charts are generally created in wordlotusexcelpowerpoint
Answers: 1
Computers and Technology, 01.12.2020 04:10
History, 01.12.2020 04:10
Physics, 01.12.2020 04:10
Chemistry, 01.12.2020 04:10
History, 01.12.2020 04:10
Mathematics, 01.12.2020 04:10
Mathematics, 01.12.2020 04:10
Mathematics, 01.12.2020 04:10
English, 01.12.2020 04:10