Write a program which takes any number of days from the user. the program should display the number of years, number of months formed by these days as well as the remaining days.
take the number of days in a week, and divide 100 days by that number.
100 7*w = number of days in w weeks.
Yes, although a tolerance effect may be evident. Furthermore, magic mushrooms should not be taken at all where they are illegal.
Use 365 days for the number of days in a year
'
Start with Monday as the first day, and count. This will give the maximum number of Mondays possible. The answer turns out to be 7, with a couple of days of wiggle-room. I just now realized that I mis-read the question. You are not asking for the maximum number, but in fact the smallest: the greatest number that can appear in any 45 day period. So the answer is actually 6, not 7. There can be no fewer than 6 Mondays in any interval of 45 days.
There are 14 consecutive days in a fortnight.
Get a calendar. Start on a Monday and mark off 45 days. Count the number of Mondays you have crossed off. The answer will be 7.
July and August
5 mondays however this only applies on earth, depending on the planets orbit there could be more, for example: Saturn has an orbit of 10 759 earth days in a year, compared to earths 365 1/2 days per year. So taking into account there are 12 months in a "year" there are 896.58333333 days in a month. Therefore there can be over 128 "mondays in a month"
Australia is the smallest and the flattest continentThe record for the highest number of consecutive days with excessive temperatures goes to Marble Bar in Western Australia, which recorded maximum temperatures equalling or exceeding 37.8°C on 161 consecutive days, between 30 October 1923 and 7 April 1924Australia has the world's largest number of marsupial speciesAustralia has the highest number of venomous snake species
60 DAYS
rainy days wrong category
No, it isn't. You would need 372 days in one year in order to get 54 mondays.
7
28 days