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.
We don't need any extra lines
- 1
Locked
Comments (12)
- Popular
- New
- Old
You must be signed in to leave a comment
Sarah Beth Benes
5 June 2020, 11:49
Yeah, and it should also be possible to do a reset to original.
+1
Jabed
11 September 2019, 14:12
Should automatically generate new similar task after checking the hint for better learning!
+1
Indranil Chakraborty
9 August 2021, 11:10
Very true🤨
0
Yuan
16 June 2019, 04:59
Why the result is "53.010babs10", not "5310babs10" ???
0
yehuda b
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.
+5
Manideep
18 March 2019, 06:59
where should i comment the unused variables
+1
Jakub M
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.
+1
Adnan Sami
6 February 2019, 10:07
done !!!
+1
Darshan SP
4 February 2019, 10:13
done.!!!!
+1
Mitchell Lori
25 November 2018, 17:11
Finally with help ...I have satisfied this task....pay attention to the details,,,,lesson learned
0
vikas gupta
12 October 2018, 21:47
/* The comment was deleted */
+1
Roman
16 October 2018, 05:42
Posting the solution in the comments is prohibited.
+1