Employee Record System in CSoftware called Employee Record System is designed to take care of a business's main administrative tasks. Using ERS, businesses can keep track of every employee and their data. It is utilized to administer the business using an electronic system. This program was created to manage personnel records for any business. Keeping track of all personnel records in one place would assist businesses. The Employee Record System's purpose is: The user will be given 5 choices:
Employee Information:
Approach for the programThe application's name and the creator are listed in the first frame: It is made with a few printf commands and a system provided function (). The standard C/C++ library has the system() function. It is used to transmit commands that the operating system's command processor or terminal may execute, and it then returns the command after it has been finished. System("Color 3F") will alter the colour of the console's backdrop (3), as well as the foreground text on the console (F). The user will get a message since system("pause") will pause the screen: Press any key to proceed. The gotoxy() method Setting the coordinates of the presented data will be beneficial. Program BreakdownThe above code will use to create the structure of the employee. The above code will set the console cursor position. The above code will use to add the record. The above code is used to delete a record from the system. The above code will use to display records. The above code will use to modify the existing record in the system. Program for Employee Record System in COutput: = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = [|:::>:::>:::>::> EMPLOYEE RECORD <::<:::<:::<:::|] ===================================================== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =================================================== 1. ADD RECORD 2. DELETE RECORD 3. DISPLAY RECORDS 4. MODIFY RECORD 5. EXIT ENTER YOUR CHOICE... 1 Enter Name : Ravi Enter Age : 26 Enter Salary : 120000 Enter EMP-ID : [email protected] Want to add another record (Y/N) : Y Enter Name : Shreya Enter Age : 24 Enter Salary : 120000 Enter EMP-ID : [email protected] Want to add another record (Y/N) : N 1. ADD RECORD 2. DELETE RECORD 3. DISPLAY RECORDS 4. MODIFY RECORD 5. EXIT ENTER YOUR CHOICE... 3 ========================================================== NAME AGE SALARY ID ========================================================== Ravi 26 120000.00 0 Ravi 26 120000.00 0 Shreya 24 120000.00 0 Press any key to continue . . . Enter employee name to delete : Ravi Want to delete another record (Y/N) : N 4 Enter employee name to modify : Ravi Enter new name:Ravi Enter new age :25 Enter new salary :125000 Enter new EMP-ID: [email protected] Enter employee name to delete : Ravi Want to delete another record (Y/N) :Y Enter employee name to delete : Ravi Want to delete another record (Y/N) : N Next TopicHangman Game in C |