Skip to Content
0
Dec 14, 2006 at 05:07 AM

MOd and Div

586 Views

Hi friends,

if ( ( n MOD 2 ) == 0 ).

when i say this in my syntax, it throws an error saying that mod is not supported. Can anybody tell me why. As far as i knw, it is the right syntax.

please correct me if im wrong.

Same is the error even for Div operator too.

im trying to display only even numbers in this particular program.