Skip to content

Engin-Boot/modularity-js-spooja-chopra

Repository files navigation

Topic: Modularity

Divide into files

Summary:

The 25-pair color code, is used to identify wires in telecommunications cables. Different codes are used for wire leads on devices such as transformers or in building wiring. For more details refer to This Wiki.

There are 25 possible pairs of colors.

  • Each pair of colors maps to a corresponding number
  • Such numbers translate to a pair of colors - a major color and a minor color

Exercise Details:

Modularity

The entire translation program is in a single file. Before adding features and making it bigger, split the file. This exercise has a limit on the loc (lines of code) per file. See the workflow for details.

New Feature Request

The color coding needs to be printed as a reference manual for the concerned telecom personnel. Provide a ToString() function in the code that would return the mapping which can be printed as a manual. Also resolve any coding guideline violations.

About

modularity-js-spooja-chopra created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published