Write a C++ program that accepts an integer from the user and determines whether the given integer is a multiple of both 3 and 5.
Comparison operators
Multiple of
Report a typo
Sample Input 1:
4Sample Output 1:
4 is not a multiple of both 3 and 5.Sample Input 2:
15Sample Output 2:
15 is a multiple of both 3 and 5.Sample Input 3:
6Sample Output 3:
6 is not a multiple of both 3 and 5.Write a program in C++
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.