SEBELUM BELAJAR
“Kami ridho Allah SWT sebagai Tuhanku, Islam sebagai agamaku, dan
Nabi Muhammad sebagai Nabi dan Rasul, Ya Allah, tambahkanlah
kepadaku ilmu dan berikanlah aku kefahaman”
Ekspresi Konditional
Dasar Pemograman
Sadr Lufti Mufreni, S.Kom., M.Sc.
Learning Outcomes
!= Checks if the values of two operands are equal or not. If the (A != B) is true.
values are not equal, then the condition becomes true.
> Checks if the value of left operand is greater than the value (A > B) is not true.
of right operand. If yes, then the condition becomes true.
< Checks if the value of left operand is less than the value of (A < B) is true.
right operand. If yes, then the condition becomes true.
>= Checks if the value of left operand is greater than or equal (A >= B) is not true.
to the value of right operand. If yes, then the condition
becomes true.
<= Checks if the value of left operand is less than or equal to (A <= B) is true.
the value of right operand. If yes, then the condition
becomes true.
int A = 0, B = 1;
terbatas
while
Tak terbatas
while
Tak terbatas
Dengan break
for
terbatas
for
Tak terbatas
Tugas
http://www.cplusplus.com
DOA SESUDAH BELAJAR
اﻟر ْﺣ َﻣ ِن اﻟ ﱠر ِﺣ ِﯾم
ﱠ.اِ ﺳ ِم ﱠ
ْ ِﺑ