Menghitung Faktorial dengan Pascal

Hai teman-teman, jangan lupa subscribe Channel Youtube saya.
Subscribe tidak dipungut bayaran, mari dukung saya dengan klik tombol subscribe.

Terakhir diupdate pada 10/02/2020 oleh Wira Loksado

Script berikut akan melakukan perhitungan faktorial dari bilangan yang diinputkan, silahkan dicoba sendiri.


program Faktorial;
uses wincrt;
procedure faktorial (var fak, hasil : integer);
var
i:integer;
begin
hasil := 1;
for i := 2 to fak do
hasil := Hasil * i;
End;
Var
N,Hasil_fak:integer;
Begin
Write ('Nilai yang akan difaktorialkan = '); Readln (N);
Faktorial (N,Hasil_Fak); Writeln;
Writeln ('Hasil Faktorial = ',Hasil_fak);
End

.


DMCA.com Protection Status
Artikel ini dilidungi oleh DMCA Takedown Services & Website Content Protection. Dilarang Copy-Paste.
Yang mau ngajakin ngopi silahkan klik

Hai teman-teman, jangan lupa subscribe Channel Youtube saya.
Subscribe tidak dipungut bayaran, mari dukung saya dengan klik tombol subscribe.



Like Facebook Wira Loksado dengan menekan tombol "Suka" di bawah ini agar tetap update informasi terbaru:

Mari Berdiskusi

ANONIMOUS

ANONIMOUS

ko kalo diinput 8 dst hasilnya minus ya?
tapi kalo diinput 1-7 hasilnya benar…

fitry

fitry

kok tidak bisa ya

cosmetic dental implants West Palm Beach Florida

cosmetic dental implants West Palm Beach Florida

… [Trackback]

[…] Find More on|Find More|Read More Infos here|There you will find 72989 more Infos|Informations on that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

zdporn.com

zdporn.com

… [Trackback]

[…] Find More on|Find More|Read More Infos here|There you will find 82700 additional Infos|Infos on that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

orospu cocuklari

orospu cocuklari

… [Trackback]

[…] Read More here|Read More|Read More Informations here|Here you can find 27933 more Informations|Infos to that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

Sepakbola Adalah Drama

Sepakbola Adalah Drama

… [Trackback]

[…] Read More here|Read More|Find More Infos here|There you can find 67303 more Infos|Infos on that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

criminal defense attorney

criminal defense attorney

… [Trackback]

[…] Find More on|Find More|Read More Informations here|There you will find 7492 more Informations|Informations to that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

how to learn seo

how to learn seo

… [Trackback]

[…] Read More on|Read More|Read More Informations here|There you will find 70332 more Informations|Infos on that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

site web

site web

… [Trackback]

[…] Read More on|Read More|Find More Informations here|Here you will find 29342 additional Informations|Informations to that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

www.behance.net/Webdesign-Aerzte/

www.behance.net/Webdesign-Aerzte/

… [Trackback]

[…] Read More here|Read More|Find More Infos here|There you will find 77891 additional Infos|Informations on that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

cpnsnews.com

cpnsnews.com

… [Trackback]

[…] Read More here|Read More|Find More Infos here|Here you will find 84188 more Infos|Infos on that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

DMPK Studies

DMPK Studies

… [Trackback]

[…] Read More on|Read More|Find More Infos here|There you will find 1917 more Infos|Informations to that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

how to make money with a iphone

how to make money with a iphone

… [Trackback]

[…] Find More on|Find More|Find More Infos here|There you can find 22639 more Infos|Informations to that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

Dokter obgyn terbaik di jakarta

Dokter obgyn terbaik di jakarta

… [Trackback]

[…] Read More here|Read More|Read More Informations here|There you will find 38243 additional Informations|Informations to that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

Agen Bola

Agen Bola

… [Trackback]

[…] Read More here|Read More|Find More Informations here|There you can find 19089 more Informations|Infos to that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

dronelifestyle.com/drone-buying-guide/ drones for sale

dronelifestyle.com/drone-buying-guide/ drones for sale

… [Trackback]

[…] Find More on|Find More|Find More Infos here|Here you can find 30900 more Infos|Informations to that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

kokibola

kokibola

… [Trackback]

[…] Find More here|Find More|Find More Informations here|Here you will find 85993 more Informations|Infos on that Topic: blog.loksado.com/pascal-menghitung-faktorial […]

Law Diyala

Law Diyala

… [Trackback]

[…] Find More on|Find More|Read More Infos here|There you will find 42628 more Infos|Informations to that Topic: blog.loksado.com/pascal-menghitung-faktorial […]