-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arlind
committed
Jul 27, 2022
1 parent
68e00bd
commit 7ff6cef
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
### Exercise 1 - Zoo | ||
|
||
You will build a program for the Zoo's Manager. The Zoo manager will use your program via the terminal(command line) | ||
|
||
The manager will can add the following animals to the zoo: | ||
Dogs, cats, tigers, snakes, crocodiles, turtles, penguins, monkeys and pandas | ||
|
||
The manager would like to know how many animals are in the zoo, and for each animal for example how many cats are there. | ||
|
||
The manager can remove animals from the zoo. | ||
|
||
The manager would like to know which animals are old. a 10 years old dog is old, but a 10 year old turtle is young. | ||
fun fact turtles can live up to 180 years. | ||
|
||
The manager can ask the animals to do tricks, walk or eat. The manager can also ask only dogs to eat and only cats to do sleep | ||
|
||
Monkeys get injured easily, so some monkeys can not do tricks when they are injured. | ||
|
||
Each animal should have a name, age, food, description(The description should be the same for each animal). | ||
Animals can walk, eat, and monkeys can do tricks. | ||
|
||
Your zoo has a maximum capacity of 200 people, the manager would like to know how many people are currently at the zoo | ||
|