Enumerated constants
Enumerated constants, also known as enums, are a type in programming languages that allow you to define a set of named constants, where each constant is assigned an integer value. Enums are used to make code more readable and maintainable,…