Work Sheet 3 for Perl
Do the following problems.
- Write a Perl Program that takes in a first name and if it ends in a vowel, it
adds a Ms. to the name else adds a Mr. to the name.
- Write a Perl program that using reg. expressions tests whetger a year is
a leap year or not.
- Find words in the dictionary that have abc occur in the beginning of a string. (by perl programming)
- Find how many words end in ion. (by perl programming)
- Do exercise 7.1
- Do Exercise 7.2