X
xxpinoybloodxx
Can anyone help me? This is what I need to do.
Write a program that allows the user to enter any number of integers.
The program should keep track of the largest value, the smallest
value, the number of the values entered, the total of all of the
values. At the end of the input sequence the program should print the
largest and smallest values entered, the number of entries, the total
of the entries, and the average of the entries. The screen should
include the project title and identifiers for each of the output
values.
I keep getting errors like:
Proj3Numb2.java:15: illegal start of expression
input.charAt(0)<='9'))
^
Proj3Numb2.java:26: illegal start of expression
input.charAt(0)<='9'))
^
Proj3Numb2.java:35: ';' expected
}
^
3 errors
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.
Write a program that allows the user to enter any number of integers.
The program should keep track of the largest value, the smallest
value, the number of the values entered, the total of all of the
values. At the end of the input sequence the program should print the
largest and smallest values entered, the number of entries, the total
of the entries, and the average of the entries. The screen should
include the project title and identifiers for each of the output
values.
I keep getting errors like:
Proj3Numb2.java:15: illegal start of expression
input.charAt(0)<='9'))
^
Proj3Numb2.java:26: illegal start of expression
input.charAt(0)<='9'))
^
Proj3Numb2.java:35: ';' expected
}
^
3 errors
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.