Skip to content

Commit

Permalink
exercise 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlind committed Jul 27, 2022
1 parent 68e00bd commit 7ff6cef
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Exercise1.md
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

0 comments on commit 7ff6cef

Please sign in to comment.