#include using namespace std; int main() { int val1; cout << "Input an integer: "; cin >> val1; while ( val1 != 0) { if ( val1 > 0 ) cout << "it is greater than 0" << endl; else cout << "it is not greater than 0" << endl; cout << "Input an integer: "; cin >> val1; } return 0; }