adding random number exercise with break/continue