Thread
:
Help with program that takes in a list of numbers.
View Single Post
Sep 20th, 2006, 2:26 PM
#
3
Arevos
Programming Guru
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power:
5
Also, the definition for max:
Java Syntax
(
Toggle Plain Text
)
double
max = keyIn.
nextDouble
(
)
;
double max = keyIn.nextDouble();
This requests user input before you output the "Please enter in a list of numbers" blurb, which could be rather confusing for users.
Arevos
View Public Profile
Visit Arevos's homepage!
Find More Posts by Arevos