Question
Case: Cost Is No Object In earlier chapters, you developed programs for Cost Is No Objecta car rental service. Create an application that produces employee
Case: Cost Is No Object
In earlier chapters, you developed programs for Cost Is No Objecta car rental service. Create an application that produces employee information for Cost Is No Object. The application prompts the user for an employee ID number, first and last names, street address, zip code, and job description code.
Any time the user enters an invalid value, continue to reprompt the user for the same data. Invalid values are:
An employee ID number that is negative or greater than 999
A zip code that is not in the list of allowed zip codes
A job description code that is not between 10 and 19 inclusive
Determine the employees city and state based on the zip code, as described in Table 5-10. Determine the employees job title based on the values in Table 5-11. Determine the employees hourly pay rate based on the values in Table 5-12.
When all the needed data has been entered correctly for an employee, output the ID number, first and last names, street address, city, state, zip code, job code, job title, and hourly pay rate.
Please type the pseudocode for this case.
Zip Code 53115 53125 53147 53184 53585 60001 60033 60034 61012 Table 5-10 City Delavan Fontana Lake Geneva Walworth Sharon Alden Harvard Hebron Capron State WI WI WI IL IL IL IL O Zip codes for Cost ls No Object Job Code Hourly Pay Rate ($) Title Desk clerk Credit checker Billing clerk Car cleaner Chauffeur Marketer Accountant Mechanic CEO Contractor Job Code 10-13 14-15 16-17 18 19 10 9.00 14.50 20.00 65.00 0.00 12 13 14 15 16 17 18 19 Table 5-12 Is No Object Hourly pay rates for Cost Table 5-11 Job titles for Cost Is No Object
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started