Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write a program in which the user can enter X amount of numbers. Once the user h

ID: 669086 • Letter: W

Question

write a program in which the user can enter X amount of numbers. Once the user has enter 10 positive numbers, he or she may not enter anymore numbers. Then the program should display the sum of those 10 number and also display each of those number.
In java language. Thanks in advance. write a program in which the user can enter X amount of numbers. Once the user has enter 10 positive numbers, he or she may not enter anymore numbers. Then the program should display the sum of those 10 number and also display each of those number.
In java language. Thanks in advance.
In java language. Thanks in advance.
In java language. Thanks in advance.

Explanation / Answer

import java.util.Scanner; import java.io; public static void printSums() { int sum = 0; for (int i = 1; i