1
2
/*In this program, we want the user to enter 10 numbers. Then, we will calculate and print out the average, and the lowest of the numbers.
But there's a problem...can you spot it?
In this program, we want the user to enter 10 numbers. Then, we will calculate and print out the average, and the lowest of the numbers.
But there's a problem...can you spot it?
The solution is at: https://codepad.co/snippet/Ex7zEYNE
A detailed explanation is available at: https://medium.com/datadriveninvestor/debugging-pitfall-getting-scanner-input-in-java-41e42874cbe.
But there's a problem...can you spot it?
The solution is at: https://codepad.co/snippet/Ex7zEYNE
A detailed explanation is available at: https://medium.com/datadriveninvestor/debugging-pitfall-getting-scanner-input-in-java-41e42874cbe.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.