primitive operators | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 3

primitive operators

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

29th Jun 2016, 12:27 PM
Hasim
Hasim - avatar
6 Respostas
+ 7
int x=3, y=4; int sum=x+y; System. out.println(sum);
30th Jun 2016, 10:47 AM
Aishwarya Patil
Aishwarya Patil - avatar
+ 3
Using a third variable- as Aishwarya said Without using a third variable- as Neeraj said. :D
30th Jun 2016, 6:55 PM
Siddharth Garg
Siddharth Garg - avatar
+ 1
true answer aiswarya patil
30th Jun 2016, 9:33 PM
Hasim
Hasim - avatar
0
int x=8 y=5 what is x%y?
16th Jul 2016, 7:06 PM
Chris ā€œsportsmc3ā€ Myles
Chris ā€œsportsmc3ā€ Myles - avatar
- 1
(xy,)
30th Jun 2016, 2:55 AM
samuel mwaura
- 2
(x+y)=2
2nd Jul 2016, 1:02 PM
palash bhattacharjee
palash bhattacharjee - avatar