ruby-uebungen/Assignment_014/solution
Thomas Smits 58bc23516c Update of exercises 2023-05-25 17:49:42 +02:00
..
readme.md Update of exercises 2023-05-25 17:49:42 +02:00

readme.md

Lösung: Modul schreiben

module Chemie
  N_a = 6.02214179E23
  M_v = 22.413996

  def Chemie.volume_o2(m_O)
    m_O / 32 * M_v
  end
end

puts Chemie::N_a
puts Chemie::volume_o2(10.0)