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