Program becomes unresponsive but is still running

前端 未结 0 611
伪装坚强ぢ
伪装坚强ぢ 2021-02-05 10:13
# Function that calculate sales totals and return output

def sales_total(quantity)
  if quantity >= 100
    price = 8
    quantity * price
  elsif quantity < 100          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题