Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication15
- {
- class Program
- {
- static void Main(string[] args)
- {
- string answer = String.Empty;
- while (1 < 2)
- {
- do
- {
- Console.WriteLine("What do you want to do?");
- Console.WriteLine("1. Eat");
- Console.WriteLine("2. Drink");
- Console.WriteLine("3. Play");
- answer = Console.ReadLine();
- Console.Clear();
- } while (answer != "1" && answer != "2" && answer != "3");
- if (answer == "1")
- {
- }
- else if (answer == "2")
- {
- }
- else if (answer == "3")
- {
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement