easter calculation java

Java Easter Sunday: What is wrong with the last line of my code?

I have a program that helps you find errors in my coding for an introductory class where I am, but I am puzzled about the last line. It is a project for an intro class in Java, and I for the algorithm calculations is, but this last line fails, I can not find. Any help is appreciated in the line …. should put the 3 variables from the code: Y, N and P: System.out.println ( "% F on Easter Sunday falls on:% M% M month n", s, n, p);

Please check it if replaced by this System.out.println ( "A" + and + "on Easter Sunday falls on the n" + + "month" + P + " n");

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Leave a Reply