Operator (Prolog)

|

operator2:-nl,
write('Masukkan angka 1:'),nl,
read(Angka1),nl,
write('Masukkan angka 2:'),nl2,
read(Angka2),nl,
C is Angka1+Angka2,
write('Hasil tambah'),write(C).

0 komentar:

Posting Komentar