Can anyone help me write a function that prints the day of birth of a person knowing the date of birth the month and year. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone help me write a function that prints the day of birth of a person knowing the date of birth the month and year.

C++

16th Dec 2019, 8:31 PM
Amy
6 Answers
+ 2
Your attempts ?
16th Dec 2019, 8:36 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
Amy an attempt is required, even if the code doesn't work, you must try and give a close solution. In case of failure, you tell us what went wrong, and where you were confused. We don't write code here, we correct it. I hope this helped
16th Dec 2019, 9:57 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
I have tried to use nested if's or and switch loop.
16th Dec 2019, 9:46 PM
Amy
0
Share your code here
16th Dec 2019, 9:47 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
0
but I don't know how to write this code?
16th Dec 2019, 9:55 PM
Amy
0
Thanks!
16th Dec 2019, 10:05 PM
Amy