A program that analyzes a set of numbers can be very useful. Create an Analysis
ID: 3657636 • Letter: A
Question
Explanation / Answer
/*you may also download the code from........http://www.2shared.com/file/Vqx7P22P/Numbers.html*/ import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.Scanner; public class Numbers { public static void main(String[] args) { ArrayList num = new ArrayList(); int temVal; int average; int maximun; int minimum; int median; String range; Scanner input = new Scanner(System.in); System.out .println("Enter the numbers in the range of 1 through 50 (-1 to exit)"); do { System.out.println("Enter the number:"); temVal = input.nextInt(); if (temVal != -1 && (temVal >= 1 && temValRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.