- 39
what this solve , int x= 2; int y=4; int result =x+y; system.out.println (.....)
38 Answers
0
system.out.println("your answer is = "+result);
and you can also set other conditions depending on what you want
0
system. out. print ln("x+y");
0
do that
0
firstly your statement is wrong ..it is System not system ..this will show compilation error.
so your correct answer will be "System.out.println("solution="+result);"
so this will help you out.
0
where's the answer?? I answer it x+y in the int result Then what now in Syos?? pls help.
0
what can i write
0
hey
0
What value is stored in the result variable?
int x = 8, y = 5;
int result = x % y;
0
What value is stored in the result variable?
int x = 8, y = 5;
int result = x % y;
0
Result
0
Result =6
0
int x= 2; int y=4; int result =x+y;
system.out.println(result); if this is the answer the site wont take it as such?
0
Its ok i was been stupid :) lol
0
int x = 2; int y = 4;
int result = x +y;
System.out.println(result);
0
what is the output of this code? int x=2; int y=++x*2+*; system.out.println(++x*""+y);
0
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(
);
0
Addition
Fill in the blanks to print the sum of the two variables.
int x = 2; int y = 4;
int result = x + y;
System.out.println(result);
0
+ y
result
0
easy just add the integer values ans= 6
0
Addition
Fill in the blanks to print the sum of the two variables.
int x = 2; int y = 4;
int result = x + y;
System.out.println(result);