0
Why my program is not working? The link:https://code.sololearn.com/cqkS7a3B3Fzj/?ref=app
My program is not working in code playground. Please help !!!!!😦. I've corrected the code then also it's not working properly.
5 Respuestas
+ 7
There are so many errors in your code. Here is a corrected code.
import java.io.*;
class sum
{
public static void main(String args[]) throws IOException
{
int a,b,sum = 0;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter two number");
a=Integer.parseInt(br.readLine());
b=Integer.parseInt(br.readLine());
sum = a+b;
System.out.println("Sum is "+sum);
}
}
0
Please answer my question.
0
Then why it's not working.I was not able to find out.
0
Thank you Krishna Sir.It was a stupid question I will correct my code.
0
Now also the code is not working properly.