fork download
  1. program ideone;
  2. //type ch_ar = array[0..2] of char;
  3.  
  4. var i:integer;
  5. //ch:ch_ar;
  6. ch: array[0..2] of char = ('&','$','*');
  7.  
  8. begin
  9. Randomize;
  10. for i:=1 to 10 do begin
  11. write (ch[Random(3)]);
  12. end;
  13. (* your code goes here *)
  14. end.
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
**&&*$$*&*