+ 2

Ever wondered how many seconds are there in a month?

Write a program to calculate and output the answer.

27th Mar 2021, 4:19 PM
bijoy rongphar
bijoy rongphar - avatar
7 ответов
+ 3
#include<studio.h> int main(){ int seconds = 60*(60*(30*24)); return 0; }
29th Mar 2021, 4:07 PM
Parth Shendge
+ 2
Please use relevant tags too. To specify the language
27th Mar 2021, 4:24 PM
Atul [Inactive]
+ 2
Hi! it's very easy. I think you can handle the task if you work a little hard for it. so, to solve this problem, you need to get any calendar and clock with a second hand. and conduct research to solve several problems: 1. calculate how many seconds in a minute. 2. calculate the number of minutes in an hour. 3. calculate the number of hours in a day. 4. calculate the number of days in a month. Remember! that the number of days in a month can be different (if you live on the Gregorian or Julian calendar)
27th Mar 2021, 4:54 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Parth Shendge No need to use unnecessary brackets. You can simply do seconds = 60 * 60 * 30 * 24;
29th Mar 2021, 4:15 PM
A͢J
A͢J - avatar
0
bijoy rongphar Show your attempts.
27th Mar 2021, 4:21 PM
A͢J
A͢J - avatar
- 1
Plz show me how to calculate this in python
27th Mar 2021, 4:25 PM
bijoy rongphar
bijoy rongphar - avatar
- 2
Let me try
27th Mar 2021, 4:33 PM
bijoy rongphar
bijoy rongphar - avatar