SLIDE 1
Expressions, Statements, and Programs
CSC 101 Christopher Siu
1 / 10
Expressions, Statements, and Programs CSC 101 Christopher Siu 1 / - - PowerPoint PPT Presentation
Expressions, Statements, and Programs CSC 101 Christopher Siu 1 / 10 Expressions Defjnition An expression is a code fragment that evaluates to a value. The simplest expressions are literal values. Example 2 is an expression that evaluates to
1 / 10
2 / 10
3 / 10
4 / 10
5 / 10
6 / 10
7 / 10
1
2
3
8 / 10
1
1
2
9 / 10
1
2
1
2
3
10 / 10