腹が立って仕方が無い… Security Overrideの続き
Security Overrideのプログラミングの続きとして writeupしたいのですが、
絶対合ってるやん!って自分で思うのですが、 Error ばっかり。
腹立つわぁ〜。みたいな感じです。
Programming.9 (僕の中でこの問題、難しい ( ๑・ิټ・ิ๑)
In order to complete Programming Challenge 9, you must code a script that will find the day of the week of the given dates below...
Note: Submit the dates like this: "Monday; Tuesday; Wednesday"
Example: January 1, 2010 -> Friday
この問題は結構たのしいですw( ๑・ิټ・ิ๑)どんな問題かというと
この問題は 月、日、年を入力して、 曜日を出力すると言うものです。
あれ?この問題かの有名な『サマーウォーズ』でみたことが…。
٩( ๑╹ ꇴ╹)۶!そうです! 夏希先輩の誕生日を求める健二君です!!
けど、公式がわからんとです(;´Д`)'`ァ'`ァ…。
ぐぐったところ、
らしいです。h が答えです。 mod って % のことらしいです。