Exercise: Number Sequence
Explore how to apply conditional expressions in ReasonML by writing a function to generate the next number in a sequence. Learn to handle valid input ranges and edge cases to build confidence in using if-else, switch, or ternary operators.
We'll cover the following...
We'll cover the following...
Problem Statement
Given an integer, n, between 0 and 9, generate the n+1 number. ...