Connect with a community of experts and enthusiasts on IDNLearn.com. Discover prompt and accurate answers from our community of experienced professionals.
How can I get multiple user inputs in Java ? I want to be able to use it for subtraction, addition,division and multiplication.For example it should run like
How many numbers do you want to subtract?
4
Enter 4 numbers:
1
2
3
4
result:-8
We value your presence here. Keep sharing knowledge and helping others find the answers they need. This community is the perfect place to learn together. Your questions deserve precise answers. Thank you for visiting IDNLearn.com, and see you again soon for more helpful information.