Question: (java) Working with two variables: playernum and winningnum player number is the number the user imputs win num is the winning number(s) to win a

(java)

Working with two variables:

playernum and winningnum

player number is the number the user imputs

win num is the winning number(s) to win a prize

when the playnum matches the winnum in any order of 3 digits (123 matches 321, 456 matches 654)

a prize is won.

how can i make a method that computes this without substrings, indexof,

only boolean/ if/else statements

I'm not sure where to start or what to use

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!