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, 23.06.2019 02:30
Which component acts as a platform on which application software runs
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
This program should be a short piece of code that prints all of the positive integers from 1 to 100 as described more fully below. the program may contain multiple methods, and if using an oo language, should be contained within a single class or object. the program should be designed so that it begins execution when invoked through whichever mechanism is most common for the implementation language. â–ş print out all positive integers from 1 to 100, inclusive and in order. â–ş print messages to standard output, matching the sample output below. â–ş in the output, state whether the each integer is 'odd' or 'even' in the output. â–ş if the number is divisible by three, instead of stating that the number is odd or even, state that the number is 'divisible by three'. â–ş if the number is divisible by both two and three, instead of saying that the number is odd, even or divisible by three; state that the number is 'divisible by two and three'. â–ş design the logic of the loop to be as efficient as possible, using the minimal number of operations to perform the required logic. sample output the number '1' is odd. the number '2' is even. the number '3' is divisible by three. the number '6' is divisible by two and three.
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
English, 10.09.2020 01:01
question
Biology, 10.09.2020 01:01
question
Mathematics, 10.09.2020 01:01
question
English, 10.09.2020 01:01
question
Biology, 10.09.2020 01:01
question
Mathematics, 10.09.2020 01:01
question
Mathematics, 10.09.2020 01:01
question
English, 10.09.2020 01:01
question
Mathematics, 10.09.2020 01:01
question
English, 10.09.2020 01:01
question
English, 10.09.2020 01:01
question
Mathematics, 10.09.2020 01:01
question
Health, 10.09.2020 01:01
question
Mathematics, 10.09.2020 01:01
question
English, 10.09.2020 01:01
question
English, 10.09.2020 01:01
question
English, 10.09.2020 01:01
question
Mathematics, 10.09.2020 01:01
question
English, 10.09.2020 01:01
question
History, 10.09.2020 01:01
Questions on the website: 13722361