write a Java program that allows the users to enter in any number of non-negative integers, whitespace delimited. The user terminates the list of numbers with a negative integer. The program then should print the average of non-negative numbers entered.
Recommended Answers
Jump to PostIs that your assignment that you just posted?
All 2 Replies
NormR1
563
Posting Sage
Team Colleague
JamesCherrill
4,577
Most Valuable Poster
Moderator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.