ha, yea sorry, I meant my format on that last part of code I added, this is error i am getting.
numArrays.java:53: error: missing return statement
}
^
1 error
--- Update ---
or this...
Type: Posts; User: ARsNGlocks
ha, yea sorry, I meant my format on that last part of code I added, this is error i am getting.
numArrays.java:53: error: missing return statement
}
^
1 error
--- Update ---
or this...
import java.util.*;
public class numArrays
{
public static void main(String[] args){
int numbers;
import java.util.*;
public class numArrays
{
public static void main(String[] args){
int numbers;
yes you are correct, I was trying to figure out what I had to do to get it to also return the lowest number out of the user input
--- Update ---
This is my problem, I have having trouble trying...
there are no errors when the code below the return is removed
no errors, runs and prints out the users numbers, just doesnt print the lowest.
sorry about that, the user inputs how ever many numbers they want then it returns them as an array and i am trying to get it to return the lowest number out of the entered numbers. it compiles up...
// please help me, I am trying to return the lowest value from the array. having trouble trying to capture the return value by placing it into the variable .. int myLowest = getLowest(yourNumbers); ...