0

Logic to write a code for the covert a day to seconds

24th Sep 2022, 5:12 PM
Chandini
8 Answers
+ 2
1 day = 24 hours 1 hour = 60 minutes 1 minute = 60 seconds 1 day = 86400 seconds
24th Sep 2022, 5:25 PM
A͢J
A͢J - avatar
+ 1
int hours=days*24; int minutes=hours*60; int seconds=minutes*60;
26th Sep 2022, 10:33 AM
Sanchez,Lando
0
Thank you
25th Sep 2022, 9:10 AM
Chandini
0
How to write code for this
25th Sep 2022, 9:10 AM
Chandini
0
In java
25th Sep 2022, 9:10 AM
Chandini
0
Use the multiplication symbol *
25th Sep 2022, 1:21 PM
Tibor Santa
Tibor Santa - avatar
26th Sep 2022, 2:02 PM
Frank Sunday
- 1
It's getting error
25th Sep 2022, 4:26 PM
Chandini