Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- List<string> questions = new List<string>()
- {
- "Pytanie nr 1",
- "Pytanie nr 2",
- "Pytanie nr 3",
- "Pytanie nr 4",
- "Pytanie nr 5",
- };
- List<string> answers = new List<string>();
- foreach (var question in questions)
- {
- Console.WriteLine(question);
- var answer = Console.ReadLine();
- answers.Add(answer);
- }
- // tutaj sprawdzenie odpowiedzi i przydzielenie zawodu
- if (questions[1] == "Tak") Console.WriteLine("Twój zawód to...");
- else Console.WriteLine("Brak zawodu dla ludzi z twoim wykształceniem");
- /// i tak dalej
- ///
- Console.ReadKey();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement