Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Math Course: Remainders
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; namespace Rextester { public class Program { public static void Main(string[] args) { int playerRoll = 140; Console.WriteLine($"4 Players are playing, and {playerRoll} was randomly rolled to go first."); Console.WriteLine("If 0 = Player 1, 1 = Player 2, 2 = Player 3, and 4 = Player 4, who goes first?"); int firstPlayer = playerRoll % 4; Console.WriteLine($"Player {firstPlayer + 1} goes first!"); } } }
run
|
edit
|
history
|
help
0
ConcurrentQueue<T>
Merge Sample
property_comparison3
asxs sxsd
Check if string is palindrome
Linq Func Action
JavaScript
Inheritiance
Hello World!
prime number