this is a program on pay roll..

#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <ctype.h>
#define MAX 5
//#define DATAFILE "c211"
typedef struct {
char ID[6];
char firstname[10]
char civilstatus;
int dependents;
float netpay;
float grosspay;
float taxwithheld;
float sss;
} employee;
char Menu(char choice){
printf("\n<< CS 211 Files >>\n\n");
printf("[A] Add New Employee\n');
printf("[V] View Records\n");
printf("[Q] Quit Program\n\n");
printf("enter letter of choice : ");
choice = toupper(getche());
] while (choice != 'A' && choice != 'V' &&
(choice != 'Q');
return choice;
void ViewRecords(employee a[], int n) {
char c;
float k;
int i;
printf("\nthere are %d record(s)\n\n",n);
in (n != 0) {
for (i = 1; i < n+1; i++) {

wait, i'm out of time.. i'll finish this soonnnn,,, if you want to finish this, please do.. Godbless