Hi,I’m likhon.And today i’m going to show you.how to detect middle number in array

import java.util.Scanner; //This is for input.
public class main {
    public static void main(String args[]){
        int input,sum=0;
        Scanner scanner=new Scanner(System.in);
        System.out.print("How many number: "); //ask for input. 40 more words