LESSON 6 PARTS A AND B
Think of the big
picture first then
add details !
What is a function?
A function is a self-contained unit of program code designed
to accomplish a particular task.
For example, printf() is a function in C tha
LESSON 5 PARTS A AND B
C Control Statements: Selection
Control Structures control the flow of
execution in a program or function.
There are three kinds of control structures in
60-106 ASSIGNMENT #1
Objectives : To understand the course requirements and use scanf, printf statements.
Don't panic! Ask for help through email or chat ! Make use of the Office hours of the
instructor and the GA/TAs.
60-106 ASSIGNMENT #9
Objectives : To use and define recursive functions
Don't panic! Ask for help through email or chat ! Make use of the Office hours of the instructor and the
Reminder: How to Compile and Run Your C Pr
LESSON 2 PART A
TYPES OF PROGRAM INSTRUCTIONS
1. Introduce programming language concepts
of variables, constants and their data types
2. Introduce types of program instructions
3. Read(scanf)/Print(printf) instructions.
LESSON 7 PARTS A AND B
Functions and Recursion
REVIEW - FUNCTIONS
Argument/Parameter list correspondence
number of actual arguments used in a
function call must be the same as the number of
formal parameters listed in the function prototype.
LESSON 8 PARTS A AND B
data types such as int, char, float and
double use a single memory location to store a
In many programming problems, it is more
convenient to assign a group of memory
locations to a va