We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Day 3: Intro to Conditional Statements
Day 3: Intro to Conditional Statements
Sort by
recency
|
1784 Discussions
|
Please Login in order to post a comment
For Csharp:
if (N % 2 != 0) // If N is odd
} Console.WriteLine("Weird"); }}}
solved in java!
function main() { const N = parseInt(readLine().trim(), 10); let result = "Weird";
}
My solution is as follows: