using System; using System.Runtime.InteropServices.Marshalling; class Program { static void Main(string[] args) { Console.WriteLine("Witamy w quzie wiedzy!"); Console.WriteLine("Odpowiedz na pytania wpisując numer odpowiedzi."); Console.WriteLine("Za każdą odpowiedz otrzymasz 1 punkt."); string[] questions = { "Ile nóg ma pająk?", "Jaka paneta jest najbliżej Słońca?", }; string[,] answers = { {"1. Sześć", "2. Osiem", "3. Dziesięć"}, {"1. Wenus", "2. Mars ", "3. Merkury"} }; int[] correctAnswers = { 2, 3 }; int score = 0; for (int i = 0; i < questions.Length; i++) { Console.WriteLine($"\nPytanie {i + 1}: {questions[i]}"); for (int j = 0; j < 3; j++) { Console.WriteLine(answers[i, j]); } Console.Write(Twa) } } }