Hi guys can someone tell me what's the use of looping? Sorry I'm just new here, just a 15 year old kid wanna learn codes | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Hi guys can someone tell me what's the use of looping? Sorry I'm just new here, just a 15 year old kid wanna learn codes

Codes

10th Feb 2020, 3:34 PM
Secretduh
Secretduh - avatar
2 Answers
+ 4
It's a method to execute code several times instead of writing it again over and over. Try this in C++: for(int i=1; i<=12; ++i) cout << "Round " << i << endl;
10th Feb 2020, 4:05 PM
HonFu
HonFu - avatar
+ 2
Repetition of steps.
10th Feb 2020, 10:37 PM
Sonic
Sonic - avatar