Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string answer = "vit";
- string userInput;
- userInput = Console.ReadLine()
- if (userInput == answer)
- {
- Console.WriteLine("Test");
- }
- else
- {
- Console.WriteLine("Annat skit här");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement