dimanche 1 octobre 2017

What is going wrong with my code? It outputs not even no matter what i do

print "input a number please. " TestNumber = gets if TestNumber % 2 == 0 print "The number is even" else print "The number is not even" end

Aucun commentaire:

Enregistrer un commentaire