Question: Q: create a java program to ask the user to enter a number and then if it's not dividable by 3 print no and ask

Q: create a java program to ask the user to enter a number and then if it's not dividable by 3 print "no" and ask the user to enter another number and check again, and keep repeating until the user enter a number that is dividable by 3 then print "yes" and stop repeating

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!