Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) throws IOException {
- int i,j,k;
- System.out.println("enter value of i: ");
- i=System.in.read();
- System.out.println("enter value of j: ");
- System.in.read();
- j=System.in.read();
- k=i+j;
- System.out.println("sum is: "+k +" "+j);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement