//Written in C# this should work I did not know of any months and days that equal the year so I could not test that
using System;
class MainClass {
public static void Main (string[] args) {
Console.WriteLine ("Please Enter The Values Below as An Integer");
Console.Write("Month: ");
int month = Int32.Parse(Console.ReadLine());
Console.Write("Day: ");
int day = Int32.Parse(Console.ReadLine());
Console.Write("Year: ");
int year = Int32.Parse(Console.ReadLine());
Console.WriteLine(mdy(month, day, year));
}
static bool mdy(int m, int d, int y){
if(m * d == y){
return true;
}else{
return false;
}
}
}