Teacher diego

No comments needed

  • 1
  • Locked
  • Exercise
Not all comments are equally helpful! Sometimes they appear in the code when a programmer isn't sure about some line and wants to return to it later. For example, in this task we have one unnecessary comment that is making the program work incorrectly. Uncomment one line to get the correct result!
You can't complete this task, because you're not signed in.
Comments (88)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Eleazer shyllaLevel 4 , Chennai
25 July, 16:28
it overwrite the value of y which is 12 with the new value 14 x+y
Sam Idris Level 1 , Kumasi
9 July, 10:28
i had it correct but do not understand
Reinis OzolinsLevel 1 , Riga
16 July, 10:48
In begining x=2 and y =12. with y = x+y you give y new value. y=2 + 12 so now y is equal 14. with x= y-x you give x new value. x= 14-2 =12 so now x equal 12. Java program now remember only that x=12. All values what was x before this value program "forgot". y= y-x... We now check y value. Last y value was 14 and x= 12 so y = 14-12=2 And now with System.out.println we check x and y values. :) I know programming languages "brake" math rules. Example x=x+x. If you write something like that in math lessons your teacher will be angry :D But in programming world very often use this feature how to give new values. :)
Nagarjun GLevel 1 , chennai
5 July, 08:08
system.out.println("i feel interesting");
Duck MacLevel 3
18 May, 17:15
What do they mean by “uncomment” one line???
RainjoyLevel 1 , Oslo
21 May, 07:03
Un-comment means removing the two //
Duck MacLevel 3
23 May, 01:16
Thanks
Duck MacLevel 3
15 May, 01:14
I would like some people to help me.
Siddhant SrivastavaLevel 1 , Purnea
13 May, 06:37
unble to solve it...what to do
IbrahimLevel 2 , Freetown
7 May, 17:49
The simplest task ever. Thanks am enjoying CodeGym
EswaraRaoLevel 3 , Visakhapatnam
7 May, 08:56
nice
sangameshwarLevel 0 , Tirunelveli
21 April, 03:36
/* The comment was deleted */
RomanLevel 41
22 April, 06:21
Posting the solution in the comments is prohibited.
JagatheesanLevel 1 , Madurai
16 April, 06:56
What is mean by uncomment one line?
Duck MacLevel 3
18 May, 17:07
exactly!!!
KeithOgLevel 1 , Seattle
12 August, 17:16
Means remove only one commented line. this sign // is comment. eg //Jagatheesan. Your name is commented. You remove // it is no longer commented.