Help me break this down | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Help me break this down

am new in programming and am learning c language on my own...but now am having little problem with the loops...i know the if loop and the for loop but the while , do while and switch loop there is something i just dont get...like i dont know when and how to use them...i need help pls

13th Oct 2017, 4:11 AM
Oben Elvise
Oben Elvise - avatar
2 Answers
+ 3
Here's a quick run down of loops: https://www.sololearn.com/discuss/771856/?ref=app If statements and switch statement are NOT loops. They are simply used to test if a condition is true and run some code if it is true. (I'd explain them in better detail right now, but I'm on my phone at the moment).
13th Oct 2017, 4:35 AM
Christian Barraza
Christian Barraza - avatar
+ 1
ok ...thanks i will read the link u send ...i really need to understand it sir
13th Oct 2017, 4:39 AM
Oben Elvise
Oben Elvise - avatar