Solution: Design a NumberRange Struct

The solution to the “design a struct” coding challenge is given in this lesson.

We'll cover the following

Solution

The step size must be stored alongside begin and end, and the element value must be increased by that step size:

Get hands-on with 1200+ tech skills courses.