70.0k views
1 vote
Create a single line comment that says ""Print results to screen""

User Ktransier
by
6.2k points

1 Answer

1 vote

Answer:

//""Print results to screen""

Step-by-step explanation:

In c,c++,java,javascript // is used for the single line comment.

syntax:- // comment.

Whatever text that is followed after // is commented means this line will not get executed by the compiler.

Comments are used to explain the code to other person who is working on the code or trying to understand that code.

User Pretasoc
by
6.4k points