Kód: Vybrať všetko
int Pocitac;
Pocitac=random(3);
if (Pocitac==0) Edit1->Text = 1;
if (Pocitac==1) Edit1->Text = 2;
if (Pocitac==2) Edit1->Text = 3;Kód: Vybrať všetko
int Pocitac;
Pocitac=random(3);
if (Pocitac==0) Edit1->Text = 1;
if (Pocitac==1) Edit1->Text = 2;
if (Pocitac==2) Edit1->Text = 3;