Create a program getAbbreviation
that
accepts a parameter name
which will be
a string consisting of a full-name and
returns abbreviated version of the name.
For example:
Albert Einstein
when provided should
return Albert E.
Create another program getMaskedEmail
that accepts a parameter email
and
outputs the masked version of the email,
where we can see the first 3 characters
in the email and the domain.
For example: