From 734afb4179cb864cc605f79ca9717400821e790c Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Wed, 10 Nov 2021 16:42:20 +0100
Subject: [PATCH] scanner -> scan

---
 Doc/Sd1/statements.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Doc/Sd1/statements.xml b/Doc/Sd1/statements.xml
index d2259fe29..638ea3f81 100644
--- a/Doc/Sd1/statements.xml
+++ b/Doc/Sd1/statements.xml
@@ -2199,7 +2199,7 @@ while (counter++ &lt; 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
-- 
GitLab