Generates random number from range (prompt) and alert