0

How to find first sunday of October?

How to write a code that will find the first sunday of given year? Input: 2010 output: 3 //it is first sunday of 2010 https://code.sololearn.com/cC7yU0l4esv9/?ref=app

19th Sep 2021, 8:12 AM
Aruzhan
3 Respostas
+ 1
Please, firstly show your attempt. After that ask what your problem is clearly. Thanks for understanding. Happy coding!
19th Sep 2021, 8:33 AM
mesarthim
mesarthim - avatar
+ 1
@Mesarthim i attached my code but i don't know what steps to take
19th Sep 2021, 9:09 AM
Aruzhan
0
I don't know what to use to output the first sunday. Like what formula or code shoul i use?
19th Sep 2021, 8:38 AM
Aruzhan