Inspiration

The inspiration behind this program was after I watched a movie where a mathematician was able to tell how the calendar looked like on a specific year. This had wowed all of the great mathematicians that were present there and me as I wondered if a human could do it, then why not a computer.

What it does

This program will ask the the data inserter to input the year and the month of the calendar that they want to see. It will show the physical attributes of a calendar including the days and dates.

How I built it

I built it by using input systems and switch statements for the months. There are also many case statements that is used for the days on each month. I also used setw( ) to organize the calendar in a gregorian calendar format. while (month > 12 || month < 1) - a while statement to make sure whether correct month was inserted.

Challenges I ran into

Some challenges that I ran into was to place the case statements and to put switch statement in correct method. I also had some complications with the formulas that were used to show the dates on specific months.

Accomplishments that I'm proud of

I am proud of the correct mathematical equations that I used to find out the correct days that correlates with the months.

What I learned

I learned more about switch statements and to put different cases depending on the months. I also researched about the mathematical formulas that were used to get the correct days that depends on each month.

What's next for Calendar Program

I want to make the calendar program to change into different types of calendars instead of the gregorian calendar. I also want to make solar and lunar calendars.

Built With

Share this project:

Updates