Problem 1247. When can one be the Life Member of the IEEE?
Solution Stats
Problem Comments
-
8 Comments
Aritra, please fix the test suite. There is a typo in assert function.
Also, the correct answer for first test (and the example) is 2003, not 2005!
Khaled, I believe the answer to the first one is still 2005, as the person has to be 65 years old. Once a member hits 65 years old, their age plus years as a member must be >100. At least, that's how I read the problem description.
Yes. The test suite needs to be fixed.
@james, You are correct. I missed the first condition.
@Aritra : Fix the test suite. you have typed y as 'yy' in your test suite.correct it
I fixed the obvious typo with the "yy".
Thanx @Ned for fixing d typo. thnx everyone for their concern
Solution Comments
Show commentsProblem Recent Solvers74
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15467 Solvers
-
150 Solvers
-
Back to basics 21 - Matrix replicating
1486 Solvers
-
Split a string into chunks of specified length
1654 Solvers
-
4471 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!