๐Ÿ”ฐflow control

๐Ÿšง ๆ–ฝๅทฅไธญ

Swift โŸฉ flow control

a statement that controls the flow of execution in a program.

Swift provides a variety of control flow statements. These include๏ผš

  • loop statements to perform a task multiple times.

  • branch statements to execute different branches of code based on certain conditions.

  • control transfer statements to transfer the flow of execution to another point in your code.

Last updated