java_jenius
08-22-2004, 02:19 PM
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!
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!