A text file contain birth date of some employees with format dd/mm/yy: 01/06/50 03/06/51 10/02/54 08/01/48 26/08/51 27/04/54 21/09/51 … and so on

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

1.A text file contain birth date of some employees with format dd/mm/yy:

  • 01/06/50
  • 03/06/51
  • 10/02/54
  • 08/01/48
  • 26/08/51
  • 27/04/54
  • 21/09/51
  • … and so on

  Read the file using C and find out how many employees with age:

–above 51

–between 44 – 51

–between 36 – 43

–between 28 – 35

–below 28

(note : age = now – birth date)

Using C Language, modulo, and file processing, Sir, thx.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning