Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ok
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZH_minta { class Program { private static Exception exeption1; private static bool asd; static void Main(string[] args) { int krokodilszam = 0; Console.WriteLine("Hány krokodil van?"); do { try { asd = false; krokodilszam = int.Parse(Console.ReadLine()); if (krokodilszam < 1) throw exeption1; } catch (Exception) { Console.WriteLine("asd"); asd = true; //throw; } } while (asd); Versenyzok elsoNap = new Versenyzok(krokodilszam); for (int i = 0; i < krokodilszam; i++) { Console.WriteLine(elsoNap[i]); } Console.WriteLine(elsoNap.Nyertes()+". krokodi a nyertes"); Console.WriteLine(elsoNap.versenyzoTomb[elsoNap.Nyertes()].UtolsoLepes()); Console.WriteLine(elsoNap.versenyzoTomb[elsoNap.Nyertes()].LepesekSzama()); //Console.WriteLine("asd"); Console.ReadLine(); } } }
run
|
edit
|
history
|
help
0
Watch Jurassic World Dominion Online Free
adxcsxsd
Asignacion 692018
Xml in C#
compra de restaurante
Test Daylight Savings
Secure random string
array integration
Math 9.4
1stoccuinsorted