Types of printing a statement in ruby | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

Types of printing a statement in ruby

Very easy programming language. #Below is the types of printing the statement puts "hello ruby" puts 'hello ruby' p "hello ruby" print "hello ruby" printf "\nhello ruby" putc "hello ruby" #To display multiple lines instead single line puts"""Once there was a boy. He wanted to be a programmner. He found Ruby. Now, he is a programmer. """

19th Dec 2016, 6:24 PM
Krishnaraj V
Krishnaraj V - avatar
1 Réponse
+ 3
Thank you for this valuable information, this help is more than enough to feed my mind ^.^
20th Feb 2017, 1:11 PM
MrCoder
MrCoder - avatar