D
Daniel Peikes
Ok folks I know this is an easy question, I am trying to write a while
loop with a logical or statement and am new to ruby. The online guide I
am using does not seem to cover and and or statements for some reason.
My guess being a C programmer is to do it like this:
while again != "y" || "n"
I am looking for confirmation, also suggestions of a better online guide
to learn Ruby preffrubly with project to do that include instructions.
Thanks in advance.
loop with a logical or statement and am new to ruby. The online guide I
am using does not seem to cover and and or statements for some reason.
My guess being a C programmer is to do it like this:
while again != "y" || "n"
I am looking for confirmation, also suggestions of a better online guide
to learn Ruby preffrubly with project to do that include instructions.
Thanks in advance.