creating ex31.rb file to work with decision making
adding logical decisions based on the user choice
correcting a word from yor to your
corecting another word to read as knife
declaring insanity and assigning it to the value to be provided by user
adding ex32.rb to work with loops and arrays
defining arrays and use for loop to work with them
creating ex33.rb file to work with while loops
creating an empty array and while loop which push numbers to empty array and print them
adding a break character to break the statements
creating ex34.rb to work with how to access an element from anarray
creating an array for animals and accessing them
priting the last animal by method .last
creating ex35.rb to work with branches and functions
printing prompt insteady of putting
creating a bunch of functions and interact with a user
defining other function
arranging the code to be more readable
adding condition which will move bear away from door
adding condition which will move bear away from door