using RUBY why can't I pass random variable here ? I tried different combinations such as removing numbers ?
money= rand(100)
def paycheck(money)
"Lets make this amount, #{money} today"
end
puts paycheck("100")
puts paycheck("200")
puts paycheck("500")
ty
Aucun commentaire:
Enregistrer un commentaire