Computer Science, asked by ane57, 1 year ago

addition of two integer in java program.

Answers

Answered by Madhu123mri
1
import java.util.*;
public class sum
{
static void main()
{
Scanner ob= new Scanner(System.in)
int a,b,c;
System.out.println("Enter the value of two integers");
a=ob.nextInt();
b=ob.nextInt();
c=a+b;
System.out.println("Sum= "+c);
}
}


HOPE IT HELPS! ^_^
Answered by ImMohammedAnas
1
it's a big question plzz mark me brainlest plzzzzzzzzzzzzzzzzzzzzzzzzzzz
Similar questions