Example
import java.io.*;
public class A13
{
public static void main(String args[])
throws IOException
{
BufferedReader br;
br=new BufferedReader(new InputStreamReader(System.in));
int a=Integer.parseInt(br.readLine());
int b=Integer.parseInt(br.readLine());
System.out.println(" Addition of two number:"+ (a+b));
}
}
import java.io.*;
public class A13
{
public static void main(String args[])
throws IOException
{
BufferedReader br;
br=new BufferedReader(new InputStreamReader(System.in));
int a=Integer.parseInt(br.readLine());
int b=Integer.parseInt(br.readLine());
System.out.println(" Addition of two number:"+ (a+b));
}
}
No comments:
Post a Comment