Share
Explore BrainMass

Write a code in Java

Write a code in Java that continuously outputs random numbers between 0 and 10000 until a number which is divisible by 5 is encountered. The user should be prompted for the next random search or have the option to quit the program. The code you write should be well commented. It will influence your rating! The program should consist of two files: Random.java and RandomApp.java which controlls the loop and termination.

Solution Summary

Write a code in Java that continuously outputs random numbers

$2.19