0% found this document useful (0 votes)
68 views6 pages

CSE 110: Programming Language I: Matin Saad Abdullah UB 1222

CSE 110 is an introductory programming course taught by Matin Saad Abdullah. The document discusses non-sequential program statements and how control statements allow programs to have more flexibility in statement execution order rather than just sequential execution. It provides examples of class tasks for students to draw a flowchart of a simple "Hello" program, a program that asks for a number and displays it, a program that asks for 3 numbers and displays their sum, and a program that finds the largest of 3 numbers entered.

Uploaded by

Sakib Ahsan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views6 pages

CSE 110: Programming Language I: Matin Saad Abdullah UB 1222

CSE 110 is an introductory programming course taught by Matin Saad Abdullah. The document discusses non-sequential program statements and how control statements allow programs to have more flexibility in statement execution order rather than just sequential execution. It provides examples of class tasks for students to draw a flowchart of a simple "Hello" program, a program that asks for a number and displays it, a program that asks for 3 numbers and displays their sum, and a program that finds the largest of 3 numbers entered.

Uploaded by

Sakib Ahsan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 6

CSE 110: Programming

Language I

Matin Saad Abdullah


[email protected]
UB 1222
Non-Sequential
Program Statements

Programs that execute only sequential program


statements are pretty simplistic.
Most programs need more flexibility in the order
of statement execution.
The order of statement execution is called the
flow of control.
Control statements allow the execution of
statements based upon decisions.
Class task

Draw a flowchart of a program that


prints Hello once.
Class task

Ask the user for one number and


show the user the number s/he
entered.
Class task

Ask the user for 3 numbers and show


the user the summation of the
numbers s/he entered.
Class task

Ask the user for three numbers and


show the user the largest of the
three numbers.

You might also like