Slide 1Chapter 3: Control Flow S. M. Farhad Slide 2 Statements and Blocks An expression becomes a statement when it is followed by a semicolon Braces { and } are used to…