What's wrong with this code of mine,,??
My expected output : To find average of 'n' numbers where the variable 'n' is specified by the user during the runtime.
There aren't any compilation errors, but i get the output 0 for my input of (3,4,5,3,4,5,6)

import java.util.Scanner;

public class EllipsisVariableArguments {

public static void main(String[] args){

Scanner xxx = new Scanner(System.in);
int in;
int inputValues[]= new int[100];
System.out.println("Enter the number of numbers to take average:");

System.out.println("Enter the numbers to take average:");

for (int a=0; a