public static void main(String args)throws IOException
factorial f=new factorial();
InputStreamReader ins=new InputStreamReader(System.in);
BufferedReader br=new BufferedReader(ins);
System.out.println("enter the value of a");
System.out.println("enter the value of b");
add(int a,int b)
...and your question is what...
i didnt get output what is the mistake in the programme
We don't know what you were expecting as the output. Provide details. What should happen? What does happen? What have you tried to fix it? Why do you think it doesn't work? etc.
Does your code compile? If not, what had your compiler to say about it?
Originally Posted by rithish