1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Predicting day if year is given and month and day is fixed

Discussion in 'C++' started by Amandeep Kaur Pama, Jan 8, 2011.

  1. Amandeep Kaur Pama

    Amandeep Kaur Pama New Member

    Joined:
    Jan 8, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hi!! i just want to know the basic concept of the c++ program which predicts the day of a week if a particular day is entered and month and day is already known or fixed.:)
     
  2. 7900142

    7900142 New Member

    Joined:
    Jan 12, 2011
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Free lance software developer, an instructor and a
    Location:
    Philippines
    Hey,
    I would just like to share idea to you. By the way, the problem you posted
    is indeed possible to be solved. First, you can google the formula for 'Perpetual Calendar'. In this algorithm, you can actually see that any given date can be predicted precisely. Well, I can actually share my code....just let me know....

    regards
    7900142
     

Share This Page