I am having a problem computing a date for Easter Sunday from 1982 to 2048 as follows (all variables are of type int): a is year %19 b is year % 4 c is year % 7 d is (19 * a + 24) % 30 e is (2 * b + 4 * c + 6 * d + 5) % 7
Easter Sunday is March (22 + d + e)3(cubed)
I am trying to write an application that inputs the year and outputs the date (month and day) of Easter Sunday for that year using two buttons. This programming thing is new to me this year and I am so frustrated trying to figure out how to write simple applications. Can somebody give me some advice how to make this simple application work?