top of page
Search
zakariyesahid96

Switch statement

  • This statement is another control-flow statement that can replace multiple if statement.

  • Key words are switch and cases

  • The default is if there is a match it keeps going until break.

  • To add Colt says this statement is not very common and is not used offend but it’s there to be demonstrated.

2 views0 comments

Recent Posts

See All

Kommentare


Post: Blog2_Post
bottom of page