a random x and y coordinate within this region. Calling the function rand() will give
After informing the user what the program does, prompt the user for the number of darts to throw. Also, prompt for a number of simulations (why not have the program…