You are on page 1of 1

𝑛!

Permutasi (P = )
𝑛−𝑟
Start

n, r

For i = 1, to n, by+1

Hasil 1 = hasil 1 × i

For i = 1, to n-r, by +1

Hasil 2 = hasil 2 × i

Hasil total = hasil 1/ hasil 2 Stop

You might also like