In making the decisions, we have to specify the conditions to be evalueted by the program. The statement are executed if the condition is determined to be true, and optionally, other statements to be executed if the condition is determined to be false.
This is the flow diagram of decision making !
There are many ways to make decision, those are :
- If statement
An if statement consists of a boolean expression followed by one or more statements.
0 komentar:
Posting Komentar