Vidyalelo
Ruby Programming · Q98

Basic Syntax in Ruby

Programming · Ruby Programming · question 98

Q98

Why is the library function 'puts'used for?

A.
Prints whatever is given and print it to the screen
B.
Prints whatever is given and insert a new(blank) line
Answer
C.
Gets input from the user
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board