// con1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include using namespace std; int main() { int a; cout << "Enter an int:"; cin >> a; if ((30 < a) && (a < 50)) { // 30 < a < 50 cout << "yes " << a << " is b/w 30 & 50" << endl; } else { cout << "no " << a << " is not b/w 30 & 50" << endl; } return 0; }