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
Timer1
test2
C# program to Determine if Two Words Are Anagrams of Each Other
Diagonal Difference
Round Program
Selected Poetry of Rumi doy/poem#
Understanding For loop and Return functions
Simple Parallel.For example
izem
D113