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.
Thank you for the opportunity to help you with your question!
puts "you are winner"
puts "try again"
Content will be erased after question is completed.
Enter the email address associated with your account, and we will email you a link to reset your password.
Forgot your password?