1,229,824
clicked '
Ask Pex!
'
Sign In
Random Puzzle
Learn
APCS
New
C#
Visual Basic
F#
This puzzle is an interactive Coding Duel.
Can you write code that matches a secret implementation? Other people have already won this Duel 6769 times!
Help
using System; public class Program { // Can you fill the puzzle method to match the secret arithmetic operation? public static int Puzzle(int x, int y) { if (x == 0 && y == 0) return 0; if (x == 0 && y == 1) return 1; if (x == 1 && y == 0) return 1; return 0; } }
Permalink
Coding Duel Name:
Help
Community
Live Feed
About
© 2013 Microsoft - Pex v0.94 - .NET v4 -
Terms of Use
-
Privacy