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
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
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
Knowledge Booster
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.Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,