Question: Write a C program that includes the following: 1. (6 points) A function called CheckemployeeID, which receives a string as an input, and checks whether

Write a C program that includes the following: 1. (6 points) A function called CheckemployeeID, which receives a string as an input, and checks whether it is correct employee ID or not. Note: For a string to be a correct employee ID it should be 10 characters long and starts with 33, and contains no alphabets. 2. (7 points) The main function, which lets the user input a string and calls the function Checkemployeeld to check if the string is correct employee ID or not. If the entered ID is correct, the program should classify the employee by evaluating his/her ID, as follows: The ID ends in 01. display "HR Department" The ID ends in 02, display "Finance Department" The ID ends in 03, display "Academic staff

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!