+ 1
how to make decision of the game ?c#(switches)
switch (number) { case 1: Console.WriteLine(
quot;computer played paper and you played {selection}"); break; case 2: Console.WriteLine(quot;computer played rock and you played {selection}"); break; case 3: Console.WriteLine(quot;computer played scissors and you played {selection}"); break; } //.Pause the program to allow the user to view the output. Console.ReadLine(); /*Using only switch statements, determine the winner of round based on the rules of the game. Use the format shown in the examples below.*/ switch (selection) {4 ответов
+ 2
Your code is truncated. You should instead share a code link rather than raw text to avoid truncation for character limit excess.
https://www.sololearn.com/post/75089/?ref=app
+ 2
Do you see a small button with a + sign next to the comment input box below this thread? use that, pick "Insert Code". When you get to Code Playground choose "My Codes" instead of "Hot Today", then pick a code.
Another way is to open the code in SoloLearn editor and tap on share button (in app) or copy URL from address bar (in browser). Choose "Copy to clipboard" and paste in the thread Description above.
Seriously you don't see the option? did you read the post I linked previously?
+ 1
i dont see the option here to share the code link
0
i practice my codes on visual studio and i am unable to see your link there is some error called 404