Java code: You will need to create a producer priority queue class that is used
ID: 3767521 • Letter: J
Question
Java code:
You will need to create a producer priority queue class that is used to load the client’s calling file. Since a call file could be very large, we want to limit the data structure size to something small for testing purposes you might also want to add a short pause in order to watch the process in action. Once the data structure is full, this process will have to wait for the consumer process to free up space before continuing.
The calling file will contain the following data:
First Name
Last Name
Phone Number
City
State
Zip
You will have determine their time zone based on their zip or area code
If the number does not have a valid United States GMT offset between -4 through -10 http://www.timetemperature.com/tzus/gmt_united_states.shtml
then you will flag the record as invalid.
You will also have to make sure the phone number is not on the Do Not Disturb (DND) list. If it is, you need to flag the record as DND.
Explanation / Answer
#include #include void main() { int choose; double Area,Length,Width,Radius,Base,Height; coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.