**New course!**Every coder should learn

**Generative AI!**

+ 3

# primitive operators

how print sum of the two variables (x,y)

6 Answers

+ 7

int x=3, y=4;
int sum=x+y;
System. out.println(sum);

+ 3

Using a third variable- as Aishwarya said
Without using a third variable- as Neeraj said.
:D

+ 1

true answer aiswarya patil

0

int x=8 y=5
what is x%y?

- 1

(xy,)

- 2

(x+y)=2