Open parf opened 10 years ago
if age > 30: p.say "Hello Sir." else if age < 18: p.say("Hi buddy")
gives me if age > 30 { p.say } if age < 18 { p.say("Hi buddy") } else {
and this is really wrong !!!
It will thanks, for the feedback.
Just for readers, the error is that p.say "Hello Sir." miss parens.
p.say "Hello Sir."
gives me if age > 30 { p.say } if age < 18 { p.say("Hi buddy") } else {
and this is really wrong !!!