Question: Use c program to solve this. Problem B [10 marks] Write a program to calculate age (birth date and current date will be entered by

Use c program to solve this.

Problem B [10 marks] Write a program to calculate age (birth date

Problem B [10 marks] Write a program to calculate age (birth date and current date will be entered by user). Make a structure named Date to store the elements day, month and year to store the dates. Calculate age and print it. Input Sample DOB: 2 2 1995 Current Date: 171 2021 Output Sample Age: 25 years 11 months 15 days

Step by Step Solution

3.50 Rating (153 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer C CODE include define the struct for Date struct Date int day to store the day int month to store the month int year to store the year define t... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!