Write C Console Program Prompts User Enter Attributes Three Customers Outputs Collected Da Q37118991

Write a C++ console program that prompts a user to enterattributes for three customers, and outputs the collected data in aformatted table.

Since the code block to prompt the user for attributes and storetheir values is to be used three times instead of just one, write ageneric value-returning function to dothese operations and return a ‘Customer’ data structure (struct).Call it three times from main — once foreach customer.

The fields are formatted as follows:

Customer ID takes the formatone letter A-Z followed by 3 numbers 0-9. For example, A123, B777,C817 are all valid Customer IDs. Be sure to validate thisin the input.

StreamingMovies, StreamingTVand

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.