Far Posted Validation Class Need Help Displaying Numbers Less Given Hard Coded Value Displ Q37047952

his program will take an array of hard-coded numbers, pass those numbers to various methods where different operations will b

This is what I have so far, I have not posted thevalidation class.

I need help on Displaying the numbers less than a given( hard – coded ) value, and displaying all numbers in the arrayhigher than the average, after it has been calculated. (case 4 andcase 6)

import java.util.Arrays;

import java.util.Collections;

import java.util.Scanner;

import javax.swing.text.html.HTML;

public class ArrayAndMenuDemo {

    public static void main(String[] args) {

        Scanner input = newScanner(System.in);

        int[] numbers =null;

        String[] menuOptions= {“Initialize array”, “Display all”, “Display all in reverse”,

           “Total

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.