186k views
2 votes
Why do we use comment in a code segment?
*

1 Answer

1 vote

Answer: When you comment in a code segment, it can help make the code maintenance much much easier while also helping out with finding any bugs that were misplaced in your code. Also, commenting is important if someone else plans on using what function your code does. Also, it is a big time saver by showing how your code works.

Step-by-step explanation:

User Lynsey
by
7.8k points