#include <iostream> 
using namespace std; 
  
int main() 
{ 
  double height = 40; 
  
  int i = 0; // declare AND initialize a loop counter
  while (i != 10) 
  { 
    height = height / 2; 
    cout << "location is now: " << height << " inches" << endl; 
    i = i + 1; 
  } // while 
} // main 
