Answer:
The answer to this question is given below in the explanation section.
Step-by-step explanation:
The notes that are used in a piece of code to understand the difficulty of coding or for others to read it is called comments.
Comments in code help in understanding the code, they help others to read the code and understand the logic written behind it. Comments also help the programmer to read his code himself for understanding purposes. Comments in coding used for understanding the purpose of code and what the code will do. The comments written in the program cannot execute or shown when you run the program.
Comments in coding/program can be used in two ways in almost all programming languages. You can use comments on a single line and in multiple lines.
To show a comment on a single line, you can use the double backslash "//" .
To make a comment on a single line. for example
//here the calculation start or some other understandable comments.
if the comments are more than one line then you can use "/* */" symbols to write comments on multiple lines
for example:
/* this is the code
that calculate the sum and average of students grades
it also displays the grade in letter
*/