IDNLearn.com offers a comprehensive platform for finding and sharing knowledge. Our community is ready to provide in-depth answers and practical solutions to any questions you may have.
Divisible by 3 and 5
Write a program that asks the user for an integer.
The program should print one of 4 statements:
the number is divisible by 3 and 5,
the number is divisible by 3 but not 5,
the number is divisible by 5 but not 3, or
the number is divisible by neither 3 nor 5.
(This should be done in Codeh)
Sagot :
We are happy to have you as part of our community. Keep asking, answering, and sharing your insights. Together, we can create a valuable knowledge resource. Find reliable answers at IDNLearn.com. Thanks for stopping by, and come back for more trustworthy solutions.