calculate in java
<p>can i know how to calculate in java..</p>

<p>this is my coding..
can anybody help me??</p>

<pre><code>`import java.io.*;`

`class bill`
`{`

`public static void main (String [] args) throws IOException`
    `{`
        `InputStreamReader inStream = new InputStreamReader (System.in);`

        BufferedReader stdin = new BufferedReader (inStream);
        int [][]marks=new int[4][3];
        String str;*

        double total;
        double Water;
        double Electricity;
        double TM;
        int a;
        int b;
        int c;

        Water = a;
        Electricity = b;
        TM = c;

        total= a+b+c;
    for (int i=0;i&lt;3;i++)
    {


        System.out.println("Customer:");

        System.out.print("Enter Bill Amount for water:"+Water);
        str = stdin.readLine();
        System.out.print("Enter Bill Amount for Electricity:"+Electricity);
        str = stdin.readLine();
        System.out.print("Enter Bill Amount for TM:"+TM);
        str = stdin.readLine();
        System.out.print("Total for the Bills:"+total);
        str = stdin.readLine();



    }



}


}`
</code></pre>
