Rumus Percabangan switch-case
------------------------------
switch (ekspresi) {
case nilai_konstant_1 : statement;
break;
case nilai_konstant_2 : statement;
break;
case nilai_konstant_3 : statement;
break;
default
statement_alternatif;
}
contoh: download
--------
0 comments:
Posting Komentar