I need help with this Java programming assignment:
Write a program that prompts the user for an evenmultiple of 17 between 100 and 500. Use ONE Java selectionto evaluate the user’s input and assign the result to a booleanvariable. Finally, embed a conditional operatorthat uses the boolean variable within a println().This println() should print either a positiveresponse that includes the other factor or amessage that the input was unacceptable. See Sample Outputs:
Sample Output
Enter an even multiple of 17 that is between 100 and 500
442
Good, the other factor is 26.
Sample Output
Enter an even multiple of 17 that is between 100 and 500
388
Sorry,
PayPal Gateway not configured
PayPal Gateway not configured