0

Complete the code to convert it to seconds and output the result.

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

4th Mar 2021, 4:55 PM
Sandeep Durge
Sandeep Durge - avatar
2 Answers
+ 2
can you show your attempt so we know how to assist you
4th Mar 2021, 5:08 PM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
no. of seconds = no. of days * 60 * 60
4th Mar 2021, 5:21 PM
Soumik
Soumik - avatar