Open nus-pe-bot opened 1 year ago
We planned for our program to use Positive Integers up to 16 bits, however it still accepts input that is larger than that so as to not block users if they really wanted to use a bigger number. It would prompt the user to use Positive Integers up to 16 bits if they have input a number that exceeds Java Integer size.
--
For users who do not have experience with computer systems, they might not understand the use of bits to reference an index. It may be more user friendly, to specify the exact decimal value (i.e. 65536). It may also be better to put a limit that makes more sense to the user, such as 100 or maybe 1000.
[original: nus-cs2113-AY2223S2/pe-interim#1859] [original labels: severity.Medium type.FeatureFlaw]