May 2018
Beginner to intermediate
452 pages
11h 26m
English
A number entry seems like it shouldn't be too complicated to deal with, but there are a number of subtleties to work through to make it bulletproof. In addition to limiting the field to valid number values, you'll want to enforce the from, to, and increment arguments as the minimum, maximum, and precision of the input, respectively.
The algorithm needs to implement the following rules:
Read now
Unlock full access