The illustration shows a code segment with the lines numbered 15 through 45, as follows:

 cout << "Enter number purchased: ";
 cin >> number;
 cout << "Type W if this is a wholesale purchase.\n"
 << "Type R if this is a retail purchase.\n"
 << "Then press Return.\n";
 cin >> saleType;

 if ((saleType == 'W') || (saleType == 'w'))
 {
 total = price * number;
 }
 else if ((saleType == 'R') || (saleType == 'r'))
 {
 double subtotal;
 subtotal = price * number;
 total = subtotal + subtotal * TAX_RATE;
 }
 else
 {
 cout << "Error in input.\n";
 }
 cout.setf(ios::fixed);
 cout.setf(ios::showpoint);
 cout.precision(2);
 cout << number << " items at $" << price << endl;
 cout << "Total Bill = $" << total;
 if ((saleType == 'R') || (saleType == 'r'))
 cout << " including sales tax.\n";

 return 0;
 } with the line "double subtotal:" annotated as "Local to the block" and the code segment within the "else if" block highlighted.