It is intended to read all the employees of a company – located in a COMPANY file – and at the end of reading the file, shows the following message: “There are ## workers over 65 years of age ” (## is the number of workers that are over 65 years old).

It is intended to read all the employees of a company – located in a COMPANY file – and at the end of reading the file, shows the following message: “There are ## workers over 65 years of age ” (## is the number of workers that are over 65 years old).

  1.  

Answer:

C# language.

// Current Date

var Today = DateTime.Today;

// Ages at a given time calculation

var Age = today. Year – birthdate. Year;

counter = 0

for ()

//snippet

 

if (age > 60)

counter <- counter+1

Order a similar paper

Get the results you need