RosettaCodeData/Task/Logical-operations/Nemerle/logical-operations.nemerle
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

14 lines
312 B
Text

using System;
using System.Console;
module Logical
{
WriteLogical(a : bool, b : bool) : void
{
WriteLine("{0} and {1} is {2}", a, b, a && b);
WriteLine("{0} or {1} is {2}", a, b, a || b);
WriteLine("not {0} is {1}", a, !a);
}
Main() : void {WriteLogical(true, false)}
}