Tax Season ! How much is my salary?
Tax Season! I was employed for a period from x until y in a year and I get pay check of amount z on every alternate Friday of th...
What day is it?
Tell me what day is it. Return the full name of the day of the week as a string.
e.g. It's June 12th 2014, so your function s...
2年以上 前
解決済み
Find number of days
The input is two date in string format (dd-mm-yyyy)
find out the number of days between these two dates.
Example:
input: ...
2年以上 前
解決済み
birthday on same day of week
Say, Mr. X's birthday is on 20th July, 2014. It was Sunday. Determine the closest year when his birthday will again be on Sunday...
2年以上 前
解決済み
How Many Months Until It's Today Again?
Given a particular date, calculate how many months must pass before that same day of the month occurs on the same day of the wee...
2年以上 前
解決済み
weekday and month
Given a year and a weekday, determine how many months of that year had five of those weekdays. It is kind of easy to find.
Exam...
2年以上 前
解決済み
microseconds passed today
Calculate the amount of microseconds passed for a given date string. Return the value, rounded to the nearest integer, as a stri...
Find my birthday
Given a birth date x, find my age when my birth day will fall on the same day as I was born. So if I was born on Monday, what ag...
2年以上 前
解決済み
Get an array of month-ends in a date range
Create a function that would return a list of month-ends falling in a given date range.
If a start date or end date falls on a...
2年以上 前
解決済み
Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...
2年以上 前
解決済み
Radiation Heat Transfer — View Factors (1)
View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...
2年以上 前
解決済み
Dice face matrix!
This is dice simulator, but instead of making a random die number, you will receive an "pre-rolled" number in and spit out a mat...
2年以上 前
解決済み
Make a diamond
Given n, odd number > 1, return n by n matrix consist of "null" and "*" characters arranged like a diamond.
No toolbox funct...
Circle/Pentagon Overlap
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...
3年弱 前
解決済み
Energy of a photon
⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛
Given the frequency F of a photon in giga hertz.
Find energy E of this photon...