I want to know how to reduce logic operation code.
 int a;
 cin >> a;
 if( a == 1 || a == 3 || a == 5)
    printf("%d", a);
revise the upper code like this
 int a;
 cin >> a;
 if(a == (1 || 3 || 5) )
    printf("%d", a)
But as you know, It doesn't work.
How can I change this code to easier form?
 
     
     
    