Write Code Application Testdivisibility Computer First Solicits User Three Int Values May Q37043062

You are to write code for the application TestDivisibility wherethe computer first solicits
the user for three int values that may be declared as dividend,divisor1 and divisor2. If either
divisor1 is greater than dividend or divisor2 is greater thandividend, the computer should
display a message indicating that the application cannot completebecause one of the divisors is
too large. Otherwise, the computer should indicate that (1) bothdivisors will divide evenly into
dividend, (2) that only one of the divisors divides evenly into thedividend, or (3) that none of the
divisors divides evenly into the dividend. Six sample runs(covering all possibilities) are
provided below.
Run the application using these six

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.