How I fil it | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How I fil it

in x=2; it y=4; int result x - -; system.out.print (-----)

8th Nov 2016, 3:52 PM
Sharifullah Jamal
Sharifullah Jamal - avatar
13 Réponses
+ 1
By looking at code I assume that you want to print value of x after decreasing by 1 So the code for that: int x=2; x--; System.out.print(x);
8th Nov 2016, 7:15 PM
Abhishek Sonone
0
what do you want to print bro??
8th Nov 2016, 4:10 PM
Gaurav Aggarwal
Gaurav Aggarwal - avatar
0
This is the question that asked from me fill in the blanks to print the sum of the two variables it x= 2; int y=4; int result= x_ _; system.out.println(______);
9th Nov 2016, 2:59 AM
Sharifullah Jamal
Sharifullah Jamal - avatar
0
int x = 4; int y = 7; + sum
30th Dec 2020, 6:23 PM
Emily
Emily - avatar
0
This is the question that asked from me fill in the blanks to print the sum of the two variables it x= 2=4; int y=7; int sum = x+y; system.out.println(sum);
15th Jan 2021, 1:30 AM
Nidhi
Nidhi - avatar
0
4
26th Sep 2021, 7:32 AM
Joyce Garcia
Joyce Garcia - avatar
0
if x else
8th Nov 2021, 8:28 AM
ASRAR
ASRAR - avatar
- 1
int x=2,y=4; int result = x+y; System.out.print(result);
29th Jun 2017, 7:40 PM
Ekrem Berbatovci
Ekrem Berbatovci - avatar
- 1
Please type in a code to declare two variables of type int and print their sum using the sum variable. int x = 4; _______ y = 7; int sum = x + y; System.out.println(_________);
2nd Jun 2021, 10:34 AM
DAMAWA FOFANA
DAMAWA FOFANA - avatar
- 2
shuuuush
27th Feb 2020, 10:36 AM
Kaysan Komoruzzaman
Kaysan Komoruzzaman - avatar
- 3
int x=2,y=4; int result = x+y; System.out.print(result);
9th Nov 2016, 10:49 AM
Abhishek Sonone
- 4
Fill in the blanks to print 11. int a = 10; ----a; System.out.println(a);
4th Oct 2017, 12:30 PM
fery 98
fery 98 - avatar
- 5
Please type in a code to declare two variables of type int and print their sum using the sum variable. int x = 4; ___y = 7; int sum =x___ y; System.out.println(____ );
12th May 2020, 8:51 PM
Mega Lestari
Mega Lestari - avatar