#include using namespace std; int main(void) { int i; do { cout << "Enter a number: "; cin >> i; cout << i << endl; } while(i!=-1); }