ruby-uebungen/Assignment_019/solution
Thomas Smits 25d5ac7ffd Initial commit 2023-05-23 09:19:31 +02:00
..
readme.md Initial commit 2023-05-23 09:19:31 +02:00

readme.md

Lösung: Vararg-Methoden





























































```ruby def produkt(*p) p.reduce { |s, e| s *= e } end

puts produkt(5, 7, 8, 1)