Skip to content

Latest commit

ย 

History

History
22 lines (13 loc) ยท 841 Bytes

File metadata and controls

22 lines (13 loc) ยท 841 Bytes

Day 2: Extend the program.

On the second day, it's apparently game day! ๐ŸŽฏ A special horn startled you at breakfast and Teo sent you a note that they are starting the production of toys. ๐ŸŽ๐Ÿ“ฆ

Santa and the elves have a tradition and love to play together at FizzBuzz during production throughout the day.

They find it a little bit too easy and would like to extend the rules of the game like this:

  • Multiples of 7 are Whizz
  • Multiples of 11 are Bang

They would like to be able to configure the game from the outside as well. ๐ŸŽฎ

โœ…๐Ÿš€ Challenge: Make the game configurable and add new cases. ๐Ÿš€โœ…

  • ๐Ÿ’กHINT: how can the rules be outside of the class?

snippet of the day

Proposed Solution

Proposed Solution Guide