User-submitted Ruby Projects

289
2171 reads

January 23, 2013

While Loop Example


In this code an array "breed" is declared which contains various horse breeds. Then it's values are transferred to another array "temp" which is capitalized and then sorted.

32
1406 reads

January 23, 2013

Case Statement


This code prints Dog in different languages using the case statement. The options are 'en' for English, 'es' for Spanish, 'fr' for French and 'de' for German.

46
1308 reads

January 23, 2013

Print numbers till 5


This code prints numbers up to 5 using for loop.

218
3005 reads

January 23, 2013

Print "dog" in different languages


This code prints "dog" in language you choose. The options are to be entered as their symbols i.e 'en' for English, 'es' for Spanish, 'fr' for French and 'de' for German.

110
1578 reads

January 23, 2013

Say Hello to....


This code takes a name as input in a variable and prints Hello along with that name.

211
2036 reads

January 23, 2013

MultiplicationTable using for


This code prints multiplication table of numbers up to 10 using for loop.

39
1468 reads
pahnin's picture

Submitted by

pahnin
IntelligentCaptcha
One can use this code to generate random questions which is returned in a text format and shall be converted to image form and validate the answer response with the answer
Run It Now!
35
1419 reads
MangeshBiradar's picture

Submitted by

MangeshBiradar
Tags:

31
1234 reads
MangeshBiradar's picture

Submitted by

MangeshBiradar
Tags:

26
1336 reads
MangeshBiradar's picture

Submitted by

MangeshBiradar
Tags: