TUT 1
TUT 1
Computer program
– Sequence of statements whose objective is to accomplish a
task
Programming
– Process of planning and creating a program
Algorithm
• An algorithm is a step-by-step procedure or a set of rules designed
to solve a specific problem or accomplish a particular task.( It is like a
recipe that outlines a clear and finite series of actions to achieve a
desired outcome.)
Function
• Collection of statements when executed accomplishes something.
• int
• float
• double
• char
• const
• void
• return
x = 5; x = 5;
y = x++; y = ++x;