We don't need any extra lines

  • 1
  • Locked
Inexperienced and, at times, experienced programmers create superfluous code. Just in case. For example, they may declare a couple dozen variables and then not know what to do with them. In this task, someone did something weird, and we get to correct it. Look for unused variables and convert them to comments in order to hide from the compiler.
You can't complete this task, because you're not signed in.
Comments (12)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Sarah Beth Benes
Level 3 , Savannah, United States
5 June 2020, 11:49
Yeah, and it should also be possible to do a reset to original.
Jabed
Level 2 , Detroit, United States
11 September 2019, 14:12
Should automatically generate new similar task after checking the hint for better learning!
Indranil Chakraborty
Level 3 , United Kingdom
9 August 2021, 11:10
Very true🤨
Yuan
Level 3 , Beijing, China
16 June 2019, 04:59
Why the result is "53.010babs10", not "5310babs10" ???
yehuda b
Level 23 , Beersheba, Israel
12 November 2019, 21:22
Because variable c is a double and doubles are numbers with decimal points, so the variable will always store the value of 53.0 automatically.
Manideep
Level 2 , Noida, India
18 March 2019, 06:59
where should i comment the unused variables
Jakub M
Level 32 , Ostrava, Czech Republic
7 May 2020, 15:16
Actually there is "comment out" - it means to use // (or /*...*/) for the respective line which will be then not processed by program.
Adnan Sami
Level 3 , Karachi, Pakistan
6 February 2019, 10:07
done !!!
Darshan SP
Level 2 , Mysuru, India
4 February 2019, 10:13
done.!!!!
Mitchell Lori
Level 2
25 November 2018, 17:11
Finally with help ...I have satisfied this task....pay attention to the details,,,,lesson learned
vikas gupta
Level 3 , Bareilly, India
12 October 2018, 21:47
/* The comment was deleted */
Roman
Level 41
16 October 2018, 05:42
Posting the solution in the comments is prohibited.