Write a program in Perl called random.pl. The program chooses a random number from 1 to 50. The program should generate the random number and save to a variable. The program will then ask the user to guess the number. Keep asking the user to guess the number until they either get it right or quit playing. If the input is quit or exit it should end the program; otherwise keep asking for a number. Tell the user "lower" if the saved number is lower than the guessed number, or say "higher" if the saved number is higher than the guessed number. Count how many guesses it takes for the user to guess the saved number. Display the count of guesses and a message of " Congratulations" after guessing correctly.
Requirements: