We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d723f commit d9a4280Copy full SHA for d9a4280
examples/Odd or Even.nys
@@ -1,4 +1,6 @@
1
-if (math(arg(2)%2) == "0") {
+log("Hi this is the odd or even example type a number");
2
+dec int number: input();
3
+if (math(number%2) == "0") {
4
log("even");
5
}
6
else {
0 commit comments