Write a code using Ruby :
Create a program which generates a random number (1 - 100) by looking into rubydoc.org and using that rondom number, find if the number is lucky number(77).if you get a lucky number, then print that you are winner if not, try again.
Type your question here (or upload an image)
Brown University1271 Tutors
California Institute of Technology2131 Tutors
Carnegie Mellon University982 Tutors
Columbia University1256 Tutors
Dartmouth University2113 Tutors
Emory University2279 Tutors
Harvard University599 Tutors
Massachusetts Institute of Technology2319 Tutors
New York University1645 Tutors
Notre Dam University1911 Tutors
Oklahoma University2122 Tutors
Pennsylvania State University932 Tutors
Princeton University1211 Tutors
Stanford University983 Tutors
University of California1282 Tutors
Oxford University123 Tutors
Yale University2325 Tutors
Enter the email address associated with your account, and we will email you a link to reset your password.
Forgot your password?
Business & Finance
How it Works
Become a Tutor
Media & Press
Studypool inc. © 2015
Studypool is a marketplace that helps students get efficient academic help.