- 1
How can I solve this question?
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 ответ
+ 5
one day = 24 hours
one hour = 60 minutes
one minutes = 60 seconds
so you just need to print variable_name_wich_hold_days*24*60*60