Understand conditional control flow statements in programming with this comprehensive tutorial. This video explains what if, else if, else statements, and the switch statement are and how they work in various programming languages.
Link to previous video in series: • The Beginning | How To Code
Link to next video in series: • Control Flow | Loops
Link to my site to practice these concepts: https://www.jakubication.com/quizzes/...
TABLE OF CONTENTS
00:00 - Intro
00:08 - Background Definitions
01:01 - If statement
01:41 - Flip a coin
02:18 - Else statement
02:56 - Stacking ifs
03:46 - Else if statement
04:51 - Ladder
05:35 - Fizzbuzz (Modified)
06:03 - Nesting ifs vs. "and"/&&
06:36 - The balance
07:14 - Use for or/||
07:37 - Switch statement [JS example]
08:20 - Use of not/!
08:37 - Short-circuiting
09:02 - De Morgan's Laws
09:27 - Issue 1: Optionally Omit {}
10:25 - Issue 2: Dangling Else
10:48 - Next Video
In questa pagina del sito puoi guardare il video online Conditional Control Flow della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Jakubication 14 novembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 38 volte e gli è piaciuto 3 spettatori. Buona visione!