Make C Rock Paper Scissors Program Q37145709

make a c#, Rock paper scissors program


Solution


using System;public class RockPaperScissors{ public static void Main(String[] args) { Random random = new Random(); int computer = random.Next(3); Console.Write(“scissor (0), rock (1), paper (2): “); int userNumber = Convert.ToInt32(Console.ReadLine()); switch (computer) { case 0:

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.