write code to retrieve that name and surname from the email address and display the person's name
Question:
write code to retrieve that name and surname from the email address and display the person's name and surname in the following format: Name Surname
Example: If the email address is j..h@domain.com the name must be displayed as John Smith.
Improve the program by allowing the user to enter a number of email addresses.
For each email address, extract the name and surname and put a string together in the format Name Surname. Assign the name surname string to an array of type string called arrNames. The arrNames array must contain all the names and surnames of the email addresses.
Write a function called displayArr that will receive the arrNames array and count variable as parameters and display the list of names in the array.
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill