End of file detected on input -- Help please
I tried submitting this and an error pops up saying **** END OF FILE detected on input -- EXIT ****.

I cant figure out what this means, just to be clear I am trying to set up a system so that data is input on a loop unless the value is 0. Thanks. 

This is my code:

    class Main
    {
    public static void main( String args[] )
    {
    int SN = 1;
    while ( SN != 0)
    {
    System.out.print("#SN : " );
    SN = BIO.getInt();
    System.out.print("#CW : " );
    int CW = BIO.getInt();
    System.out.print("#EX : " );
    int EX = BIO.getInt();
    double Mark = CW + EX;
    System.out.printf("SN= " + SN + "EX= " + EX + "CW= " + CW + "Mark= " + "%6.1f", (double) Mark / 2 );
    }
    }
    }

End of file detected on input -- Help please
===

I tried submitting this and an error pops up saying **** END OF FILE detected on input -- EXIT ****.

I cant figure out what this means, just to be clear I am trying to set up a system so that data is input on a loop unless the value is 0. Thanks. 

This is my code:

    class Main
    {
    public static void main( String args[] )
    {
    int SN = 1;
    while ( SN != 0)
    {
    System.out.print("#SN : " );
    SN = BIO.getInt();
    System.out.print("#CW : " );
    int CW = BIO.getInt();
    System.out.print("#EX : " );
    int EX = BIO.getInt();
    double Mark = CW + EX;
    System.out.printf("SN= " + SN + "EX= " + EX + "CW= " + CW + "Mark= " + "%6.1f", (double) Mark / 2 );
    }
    }
    }
