Question: please solve with java 3. Lucky Number The number 6 is consider a lucky number in some cultures. Ask user to provide two integer values,

please solve with java
please solve with java 3. Lucky Number The number 6 is consider

3. Lucky Number The number 6 is consider a lucky number in some cultures. Ask user to provide two integer values, a and b. - if their sum is 6, print: Sum is 6 , lucky you! - if their difference is 6 , print: Difference is 6 , lucky you! - if the remainder of a divided by 6+ the remainder of b/6 is 6 , print: The sum of their remainder is 6 , lucky youl (hint: use: a%6+b%6=6 )

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!