vendredi 26 octobre 2018

If vs if then statements [duplicate]

This question already has an answer here:

What is the difference between an if and an if then statement? For example, what's the difference between:

if (condition)
   puts "Condition is true"
end

and:

if (condition) then
   puts "Condition is true"
end

Aucun commentaire:

Enregistrer un commentaire