int[] votes = new int[maxCandidates];
Console.Write("Enter employee number (-999 to end): ");
int employeeNumber = int.Parse(Console.ReadLine());
if (employeeNumber == -999) {
Console.Write("Enter number of candidates: ");
candidateCount = int.Parse(Console.ReadLine());
for (int i = 0; i < candidateCount; i++) {
Console.Write($"Vote for candidate {i + 1} (1 for support, 0 for not): ");
int vote = int.Parse(Console.ReadLine());
for (int i = 0; i < candidateCount; i++) {
if (votes[i] > maxVotes) {
double averageVotes = (double)totalVotes / (employeeCount * candidateCount);
Console.WriteLine("Candidates with the highest votes:");
for (int i = 0; i < candidateCount; i++) {
if (votes[i] == maxVotes) {
Console.WriteLine($"Candidate {i + 1} with {votes[i]} votes.");
Console.WriteLine("Candidates with fewer votes than average:");
for (int i = 0; i < candidateCount; i++) {
if (votes[i] < averageVotes) {
Console.WriteLine($"Candidate {i + 1} with {votes[i]} votes.");