Q. What is the output of the given code?
counter=1
if counter<=5
puts (counter)
counter=counter+1
counter=1
if counter<=5
puts (counter)
counter=counter+1
β
Correct Answer: (A)
Syntax error