Question: Using C# and functional programming paradigm write function or an expression for this problem. [4] When a child is born a birth, certificate is issued
- Using C# and functional programming paradigm write function or an expression for this problem. [4]
When a child is born a birth, certificate is issued to the parent for records and legal proceeding. In recent times it is so happened that a mother gave birth to twin. The first child was born at 1:58 am and the other child was born after 3 minutes. In a typical situation the one born at 1:58 is older than the one born 3 minutes later. This was an exception because this was during the end of daylight-saving time. The child that was born at 1:58 was showing younger than the one born after 3 minutes, which was 1:01 am in the clock.
You have to solve this problem where the second child should be shown as younger in the certificate.
You have to include the date and should happen only if it is the date is announced as daylight
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
