can i use all the loop and function together to create a program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

can i use all the loop and function together to create a program?

Not getting any idea to use functions and loops together

10th Jul 2017, 4:22 PM
Phub Thinley
Phub Thinley - avatar
4 Answers
+ 3
yes you can use both at a time try a factorial program with recursion and without recursion then you will understand the usage of functions and also loops
10th Jul 2017, 4:41 PM
$@|!V£®U $@! |<U^^@®
$@|!V£®U   $@!    |<U^^@® - avatar
+ 2
Can I use all the loops together like Switch(){//statement If(power>23) }
10th Jul 2017, 4:31 PM
Phub Thinley
Phub Thinley - avatar
+ 1
what is the problem in that ? no problem
10th Jul 2017, 4:27 PM
TheAtito
TheAtito - avatar
+ 1
Thanks
10th Jul 2017, 4:52 PM
Phub Thinley
Phub Thinley - avatar