loading...

Pascal :: Contoh Penggunaan Statemen Case Of

Script Pascal berikut akan menampilkan 3 pilihan, masing-masing sebagai berikut :

Jika angka = 1, maka yang karakter akan tampil “satu”.
Jika angka = 2, maka yang karakter akan tampil “dua”.
Jika angka = 3, maka yang karakter akan tampil “tiga”.
Selain daripada itu akan menampilkan “Pilihan Salah!”

Program Angka;
uses wincrt;
var
a:integer;
begin
write('Angka (1-3) = ');readln(a);
writeln;
case a of
1:write('Satu');
2:write('Dua');
3:write('Tiga');
else
write('Pilihan Salah!');
end;
end.

17 Responses to Pascal :: Contoh Penggunaan Statemen Case Of

  1. … [Trackback]

    […] Read More here|Read More|Read More Infos here|There you can find 63653 additional Infos|Informations on that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  2. ????????? says:

    … [Trackback]

    […] Read More here|Read More|Read More Infos here|There you will find 59789 more Infos|Infos on that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  3. Bdsm says:

    … [Trackback]

    […] Find More on|Find More|Find More Informations here|There you will find 80560 more Informations|Infos on that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  4. … [Trackback]

    […] Read More here|Read More|Read More Informations here|Here you will find 30921 more Informations|Infos to that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  5. … [Trackback]

    […] Find More on|Find More|Read More Infos here|Here you will find 27440 additional Infos|Infos to that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  6. … [Trackback]

    […] Read More here|Read More|Find More Infos here|There you will find 1307 more Infos|Infos to that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  7. … [Trackback]

    […] Find More here|Find More|Read More Informations here|Here you can find 28995 more Informations|Informations to that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  8. … [Trackback]

    […] Find More on|Find More|Find More Infos here|There you will find 21002 additional Infos|Infos to that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  9. … [Trackback]

    […] Find More here|Find More|Read More Infos here|There you can find 33397 more Infos|Infos to that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  10. asia qq says:

    … [Trackback]

    […] Read More on|Read More|Read More Informations here|Here you can find 82654 more Informations|Informations on that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  11. … [Trackback]

    […] Read More here|Read More|Find More Informations here|There you will find 82958 more Informations|Informations on that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  12. … [Trackback]

    […] Read More here|Read More|Read More Infos here|Here you can find 79414 additional Infos|Infos on that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  13. … [Trackback]

    […] Find More on|Find More|Read More Informations here|Here you can find 28018 more Informations|Infos to that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  14. … [Trackback]

    […] Read More on|Read More|Read More Infos here|There you can find 78930 more Infos|Infos on that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  15. … [Trackback]

    […] Read More here|Read More|Find More Informations here|Here you will find 87338 additional Informations|Informations on that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  16. satta matka says:

    … [Trackback]

    […] Read More on|Read More|Read More Informations here|There you will find 14630 more Informations|Informations to that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

  17. … [Trackback]

    […] Read More on|Read More|Find More Infos here|Here you will find 71813 more Infos|Informations on that Topic: blog.loksado.com/pascal-contoh-penggunaan-statemen-case-of […]

Mari berdiskusi dengan santun...