static void unosZapisa() { Console.Write("Ime studenta:"); string ime; int[] ocjene = new int[5]; string[] predmeti = new string[5] { "ENG", "MAT", "FIZ", "KEM", "BIO" }; ime = Console.ReadLine(); int j = -1; for (int i = 1; i <= 5; i++) { j++; Console.Write("Predmet " + i.ToString() + ", " + predmeti[j] + " ocjena: "); ocjene[i - 1] = Convert.ToInt32(Console.ReadLine()); } student.dodajZapis(ime, ocjene); }