// @Author: Subodh // 1 liner solution (num & 1) ? cout << num << " is odd" : cout << num << " is even" << endl;