Math, asked by ishansingla005, 10 months ago

Write a program in java to input three integers and find their sum
three integers and find their sum, without using the mathematical operator +​

Answers

Answered by CopyThat
105

Answer:

JAVA :-

Step-by-step explanation:

import java.util.*;

class Brainly

{

static void main()

{

Scanner sc=new Scanner(System.in);

int a,b,c,s;

System.out.println( “Enter 3 integers:”);

a=sc.nextInt();

b=sc.nextInt();

c=sc.nextInt();

s=a-(-b)-(-c);

System.out.println( “ Sum:”+s);

}

}

Similar questions