I wrote this program to generate random names from given array, on first attempt it ran very well, but after compiling 2 or 3 times, a beep sound started coming from my laptop and program stopped working.
also I saw some weird numbers and signs in output window, anybody know what could have gone wrong?