Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry Simple Algorithim

    re: easter sunday app

    its nearly done, just one problem at the end regarding the changing of months

    ---------------------------------------------

    if(East<=31)
    {
    System.out.println("Easter Sunday is March" +East);
    }
    else;
    {
    System.out.println("Easter Sunday is April" +East-31);
    }

    the red bit is highlighted and says "The operator named - is not defined for the argument type(s) java.lang.String, int"

    wots this?!? its the only thing holding me back from finishing this app!

  • #2
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i wuld think u r clever enof to take the hint offered here and realize u r posting in the wrong forum...

    .....Willy


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •