0

I'm new and I really can't understand what comments are used for can anyone plz help me and make it simple for me.

10th Sep 2020, 3:14 PM
Lora Hazel
Lora Hazel - avatar
4 Answers
+ 3
here's an example :- Just have a look at this code and tell me what does it do ?👇 https://code.sololearn.com/ccAnBqKrBMgM/?ref=app Now look at this one and even a person without any programming language can tell me what this program is doing👇 https://code.sololearn.com/cVlpZKKBlcXh/?ref=app
10th Sep 2020, 3:34 PM
Arsenic
Arsenic - avatar
+ 2
I noticed one thing that the second code you send is showing the task and what it is supposed to perform as an output am I right?
10th Sep 2020, 3:58 PM
Lora Hazel
Lora Hazel - avatar
+ 2
Lora Hazel that's the point of using comments . It is there to make your code more understandable by others and future you.
10th Sep 2020, 4:03 PM
Arsenic
Arsenic - avatar
+ 2
Ah thanks I understand now
10th Sep 2020, 4:06 PM
Lora Hazel
Lora Hazel - avatar