SHARE
TWEET

Untitled

a guest Jul 17th, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     int lastNum, max, min;
  9.  
  10.  
  11.     cout <<"Please enter a number: ";
  12.     cin >> lastNum;
  13.  
  14.  
  15.     while(lastNum != -99)
  16.     {
  17.         cout << "Please enter a number: ";
  18.         cin >> lastNum;
  19.     }
  20.  
  21.  
  22. }
RAW Paste Data
Top