diff --git a/Doc/Sd1/statements.xml b/Doc/Sd1/statements.xml
index d2259fe2907cf3930c46f887ce987a1112105b54..638ea3f81923b83b8ddaa7a251c17876367b1236 100644
--- a/Doc/Sd1/statements.xml
+++ b/Doc/Sd1/statements.xml
@@ -2199,7 +2199,7 @@ while (counter++ < 10) {
 do {
   System.out.print(
     "Enter value, 0 to terminate: ");
-  value = scanner.nextInt();
+  value = scan.nextInt();
   sum += value;
 } while (0 != value);
 System.out.println("Sum: " + sum);</programlisting><screen>Enter value, 0 to terminate: 3