Update End of Term Assignment authored by Zorenböhmer Christina's avatar Zorenböhmer Christina
......@@ -89,7 +89,9 @@ Scanner askUser = new Scanner(System.in); // warning coming from non-closed sc
**2.** Ask the user if they would like to **see additional information** on the WMS while the programme is running.
<details><summary>See the Code</summary>
```java
// user interaction: offer additional information
Scanner askServiceInfo = new Scanner(System.in); // warning coming from non-closed scanner. Note: if scanner is closed subsequent scanners fail to work
String answer1;
......@@ -117,14 +119,18 @@ Scanner askUser = new Scanner(System.in); // warning coming from non-closed sc
} else {
System.out.println("Alright."); // lowkey annoyed answer hehe ;)
}
```
</details>
**3.** Ask the user if they would like to **proceed to launch** Google Earth.
<details><summary> See the Code </summary>
```java
static void askUser2() {
// ask user to proceed with google earth launch
......@@ -146,7 +152,9 @@ static void askUser2() {
}
} // askUer2()
```
</details>
......
......