Write a java program that generate two random numbers, number1 and number2, number1 between 5 and 15 inclusive, number2 between 9 and 18 inclusive and determines whether the user wins according to the...


Write a java program that generate two random numbers, number1 and number2, number1 between 5 and 15 inclusive, number2 between 9 and 18 inclusive and determines whether the user wins according to the following rule: If number1 and number2 are even the award is $3,000.


If number1 greater than number 2 the award is $2,000.


If number1 is odd and number 2 is even the award is $1,000.


If number1 is odd and number 2 is even the award is $1,000.



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here