SoloLearn – Conditionals and Loops
Day 17 #100DaysOfCode
![](https://i2.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2019/11/Screenshot_20191105-092612.png?fit=528%2C1024&ssl=1)
Using the SoloLearn app I covered if-else statements and switch statements, which I had previously learned elsewhere. It was a good refresher to see it again and practice the proper syntax.
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2019/11/Screenshot_20191105-092701.png?resize=190%2C197&ssl=1)
Following that, I got into loops. While I was already familiar with while loops, the for loop and do-while loops were something new. I like the functionality these two new types of loops add and can definitely see how they’d be useful.
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2019/11/Screenshot_20191105-092728.png?resize=190%2C203&ssl=1)
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2019/11/Screenshot_20191105-092754.png?resize=190%2C189&ssl=1)