#include <iostream> int main() { int A = 10; int B = 12; int C = 15; int count = A % 3 == 0 ? 1 : 0; count += B % 3 == 0 ? 1 : 0; count += C % 3 == 0 ? 1 : 0; std::cout<<count; return 0; }