How do I use modulus to get years in days months in days and days in days of a person | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I use modulus to get years in days months in days and days in days of a person

C program

12th Sep 2019, 6:52 PM
Enoch Asanda Hall
Enoch Asanda Hall - avatar
2 Answers
+ 2
can you explain again?
12th Sep 2019, 7:56 PM
Cat Sauce
Cat Sauce - avatar
0
I suppose that you know how modulus operator works..Now about the logic.. How do you convert years in days or months in days manually?? Just think about it and apply that logic in program..If you are stuck somewhere in program or you can't find where the error is then provide your code here, we will surely help but if we directly give you the code then how will you learn.. And if you don't know about modulus operator refer the C tutorial..
13th Sep 2019, 2:37 AM
Alaska
Alaska - avatar