Write a program that asks a data entry specialist to input employee information as comma separated values for a company and types "END' to stop the data entry. The output displayed is encoded information of the employee. The comma separated values comprise of the name, social security number in format 000-00-0000 and date of birth in format mmddyyyy. The encoded employee information is formed by concantenating the last four letter of the name in uppercase, last four of the ssn and last two digits of the date of birth If the data entry specialist to input employee information as comma separated values Koala,888-78-5657,09221934 Calzone,888-78-7888,10022010 Tutifruit,888-78-5569,03221956 END Then the program outputs the corresponding encoded employee information OALAS65734 ZONE788810 RUIT556956 Assumption: • there is a newline after end of even output line

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter9: Records (struct)
Section: Chapter Questions
Problem 2PE
icon
Related questions
Question
Write a program that asks a data entry specialist to input employee information as comma separated values for a company and types
"END" to stop the data entry. The output displayed is encoded information of the employee. The comma separated values comprise of the
name, social security number in format 000-00-0000 and date of birth in format mmddyyyy. The encoded employee information is formed
by concantenating the last four letter of the name in uppercase, last four of the ssn and last two digits of the date of birth
If the data entry specialist to input employee information as comma separated values
Koala,888-78-5657,09221934
Calzone, 888-78-7888,10022010
Tutifruit,888-78-5569,03221956
END
Then the program outputs the corresponding encoded employee information
OALAS65734
ZONE788810
RUIT556956
Assumption:
• there is a newline after end of even output line
Transcribed Image Text:Write a program that asks a data entry specialist to input employee information as comma separated values for a company and types "END" to stop the data entry. The output displayed is encoded information of the employee. The comma separated values comprise of the name, social security number in format 000-00-0000 and date of birth in format mmddyyyy. The encoded employee information is formed by concantenating the last four letter of the name in uppercase, last four of the ssn and last two digits of the date of birth If the data entry specialist to input employee information as comma separated values Koala,888-78-5657,09221934 Calzone, 888-78-7888,10022010 Tutifruit,888-78-5569,03221956 END Then the program outputs the corresponding encoded employee information OALAS65734 ZONE788810 RUIT556956 Assumption: • there is a newline after end of even output line
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,