http://skysmart.ru/articles/programming/logicheskie-vyrazheniya-v-informatike