Good Day!!..
Because i cannot see the output of my program and the only thing that i can do is to compile them and see if there is syntax error..i really had hard time to visualize what is happening in my program...Because of that, i send my prog to my friend and see what is the output of my program...She said that the this part of my simple program:

public class EnterNumbers
{
public static void main(String[] args) throws Exception
{
int [] n = new int [10];
int x = 0;

System.out.println("Enter 0 when you are finish entering numbers!");
do
{
System.out.println ("Please enter number from (1-9): ");
n[x] = (int) System.in.read();
if (x < 10)
{
x = x+1;
}
else
{
System.out.println("You can only enter up to 10 numbers!");
}
}while (n[x] != 0 || n[x] == 10);
System.out.println("The numbers you entered are : ");
for(x=0;x>n.length;x++)
{
System.out.println(n[x] + "\n");
}
System.exit(0);
}
}

***She said that the numbers i am storing in my array is not actually stored so whenever i will print the values of my array.. it doesn't print anything..
Can someone help me or give can give suggestions abou my prog..
*** The prob is: I can input up to 10 numbers using numbers(1-9)only..then it will be stored in an array then print the values of an array..verify if the users enter only numbers (1-9)..

thank you very much...