Professional Documents
Culture Documents
COMP6112-Introduction To Algorithm & Programming - Tanpa Video
COMP6112-Introduction To Algorithm & Programming - Tanpa Video
COMP6112-Introduction To Algorithm & Programming - Tanpa Video
Programming
Presented By: Novita Hanafiah, S.Kom., M.Sc.
Outline
Introduction to Algorithm & Programming
• Algorithm definition
• Pseudocode
• Introduction to C Programming language
– Input & Output in C
Algorithm Definition
• Algorithm is a procedure for solving a problem in terms of the
actions to be executed, and the order in which these actions are
to be executed
Start
Input a,b,c
d = b^2 – 4ac
Y
d<0
T
Print: x1, x2
Stop
INTRODUCTION TO C
PROGRAMMING
Why Using C
• Flexibility
Close to low level machine language yet easy to understand
• Portability
Used form micro computer to super computer