Write a program that repeatedly asks the user to enter an integer via an input dialog box and outputs the integer to the system console, until the user enters -1. The input and output should be performed by two separate threads. After each output, the output thread should enter the waiting state for a random amount of time between 1 and 5 seconds. Examine the output to be sure that every number input is output when you enter the inputs as rapidly as possible
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here