Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 2198. Find my birthday

Created by Swapnali Gujar

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 age will I be when my birthday once again falls on a Monday.

There can be multiple outputs of this. You need to return first occurrence.

Tags

Problem Group

Solution Statistics

17 correct solutions 6 incorrect solutions
Last solution submitted on Aug 14, 2014

Problem Comments