Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions