Q:

Write a PHP program to that reads a date (from 2004/1/1 to 2004/12/31) and prints the day of the date. Jan. 1, 2004, is Friday

0

Write a PHP program to that reads a date (from 2004/1/1 to 2004/12/31) and prints the day of the date. Jan. 1, 2004, is Friday. Note that 2004 is a leap year.
Two integers m and d separated by a single space in a line, m ,d represent the month and the day.

Input:Input numbers (real numbers) are separated by a space.
Input 0 to exit.

Pictorial Presentation:

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Sample Input:
9 15

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now