Here's another example of nested for loops. Combinations and/or permutations with larger numbers become more complicated, but with 4 Aces and 2 choices we can pretty much hard code it (like I did in this video).
Later in this playlist I'll get to more complex examples.
Tutorial Playlist:
https://youtube.com/playlist?list=PLWYGofN_jX5Apmb8pJUD8NN3KskHW2lcy
Repository:
https://github.com/RoundBearChoi/CPP_Tutorial_Projects
Any questions/comments? Join us on discord:
https://discord.gg/hAFTgcA
intro: (0:00)
a function: (0:42)
a for loop: (1:47)
nested for loops: (3:48)
the leftovers: (5:03)
results: (6:04)
outro: (6:51)
Social
twitter: https://twitter.com/roundbeargames
facebook: https://facebook.com/roundbeargames17
hive: https://peakd.com/@roundbeargames/posts
reddit: https://reddit.com/user/roundbeargames
linkedin: https://linkedin.com/in/jangwon-choi-15041a9a
Patreon:
https://patreon.com/roundbeargames
Channel Memberships:
https://youtube.com/roundbeargames/join







▶️ 3Speak