28th Nov 2018, 9:34 AM
Феоктистова Валерия Александровна
Феоктистова Валерия Александровна - avatar
5 Respostas
+ 7
Your adding together the ascii char values of x an y (120+121) in your print statement use Mohit the coder (M.S.D) method to keep your vaules seperate or use x+y to sum your values
28th Nov 2018, 10:04 AM
D_Stark
D_Stark - avatar
28th Nov 2018, 10:42 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 3
System.out.print(x+""+y);
28th Nov 2018, 9:40 AM
MsJ
MsJ - avatar
0
How can i I out.print x and y just in one line, like 23, if x=2, y=3?
28th Nov 2018, 9:37 AM
Феоктистова Валерия Александровна
Феоктистова Валерия Александровна - avatar
0
Thanks, guys!
28th Nov 2018, 10:30 AM
Феоктистова Валерия Александровна
Феоктистова Валерия Александровна - avatar