fork download
  1. score = 7
  2. outof= 20
  3.  
  4. grade= score/ outof * 100
  5. print(grade)
  6. if grade >50 then
  7. print("you pass")
  8. else
  9. print("you fail and die")
  10. end
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
35.0
you fail and die