The program reads an integer from the user and checks if it is divisible by 3 but not by 5. If it is, it prints "Yes", otherwise it prints "No".

C++ Program to Check Divisibility by 3 but Not by 5