@Phendrickson, if you had caught the exception (InputMismatchException) in a try catch block, it wouldn't have displayed this exception, but rather, any string of your choosing.
Type: Posts; User: Mugambbo
@Phendrickson, if you had caught the exception (InputMismatchException) in a try catch block, it wouldn't have displayed this exception, but rather, any string of your choosing.
Study the try-catch block and the exceptions thrown by primitives e.g. int and arrays, so that you can tackle this assignment head on. You're pretty close to getting it, the try-catch block is all...