Kislaya Pant wrote:pallindromic days in year
As guys already mentioned, most important part is to define unambiguous requirements first. By reading your post I understand, that you need to find how many pallindropic
dates days are in the year. Being a bit silly, per month you can have 2 pallindromic days: 11 and 22. This number multiplied by amount of month you'd get 24. But this is surely is not what could guarantee you a good mark. I believe guys were correct by saying that likely it needs to look similar to 01/10.
1. So, first step is clearly identify the problem what do you call pallindromic day and provide couple of examples: one pallindromic day and another non pallindromic day.
2. Bear in mind, it will be important how you write your date 10.01 or 10/01 or 10-01 or 1001, maybe 10 January (this question should be answered along with provided examples).
3. After you clearly understand requirements, you start describing your program in plain english by omitting any technical terminology. This
FAQ (<- link to click on) will help you to achieve that.
I believe you've been tought how to write pseudo code, so, probably would be a good idea if you'd come up with it first and post here, so you could convince everyone that you understand fully what your problem you need to solve is.
And welcome to the Ranch