Computer Science, asked by bk2042402, 6 months ago

write a program in turbo suppose you own a company of about 100 employees you find it difficult to maintain the record in register so you decide to computerize tge record of the employee write a menu driven c++ program that first display the following menu Employee Record add record [N] delete record [D] find record [F] print record [P] sort record [S] enter your choice ["] ENTER P _ID​

Answers

Answered by Anonymous
0

Answer:

#include <stdio.h>

int main() {

char id[10];

int hour;

double value, salary;

printf("Input the Employees ID(Max. 10 chars): ");

scanf("%s", &id);

printf("\nInput the working hrs: ");

scanf("%d", &hour);

printf("\nSalary amount/hr: ");

scanf("%lf", &value);

salary = value * hour;

printf("\nEmployees ID = %s\nSalary = U$ %.2lf\n", id,salary);

return 0;

}

Similar questions