View Full Version : Simple Algorithim

08-22-2004, 02:19 PM
re: easter sunday app

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


System.out.println("Easter Sunday is March" +East);
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!

Willy Duitt
08-22-2004, 02:43 PM
i wuld think u r clever enof to take the hint offered here (http://www.codingforums.com/showthread.php?t=43470) and realize u r posting in the wrong forum... :rolleyes: