Computer Science, asked by khannaahmad431, 7 months ago

Write an algorithm for your daily school schedule during normal working days and examination
days.
Draw a flowchart to go for​

Answers

Answered by sangeetasoreng98
2

We know that 2012 started at Sunday. After we know that, it’s easy to determine what day is the 2nd of January. It should be Monday. But things get a little more complex if we try to guess some date distant from January the 1st. Indeed 1st of Jan was on Sunday, but what day is 9th of May the same year. This is far more difficult to say. Of course we can go with a brute force approach and count from 1/Jan till 9/May, but that is quite slow and error prone.

So what would we do if we had to code a program that answers this question? The easiest way is to use a library. Almost every major library has built-in functions that can answer what day is on a given date. Such are date() in PHP or getDate() in JavaScript. But the question remains:

Explanation:

hope this answer may help you ☺️

Answered by goldisingh1786
0

write an algorithm for your daily school schudle during normal working days and examination days

Similar questions