Please add Algorithm and comments to my program. Thank you
public class Great {public static void main(String[] args) throws IOException {BufferedReader input = new BufferedReader(new InputStreamReader(System.in));double numbers[] = new double[10];System.out.println("Please enter number");for (int i = 0; i < numbers.length;="" i++)="">String inputString = input.readLine();numbers[i] = Double.parseDouble(inputString);System.out.println("Please enter another number");}double greatest = numbers[0];for (int i = 1; i < numbers.length;="">if (greatest <>greatest = numbers[i];}}System.out.println("The greatest number is " + greatest);}}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here