- 1
How to Create Logic to Solve Problems ( explain in detail with code ) please đ
You need a program to convert days to seconds. The given code takes the amount of days as input. Complete the code to convert it to seconds and output the result. Sample Input: 12 Sample Output: 1036800
1 Answer
+ 2
A day has 24 hours, 1 hour has 60 minute, 1 minute has 60 seconds
So input Ă 24 Ă 60 Ă 60
You'll get the answer
Try with code. if you didn't get I'll explain you again. You must try