VRAAG 4: PROBLEEMOPLOSSINGSPROGRAMMERING
Stappers gebruik 'n afstandskaart om hulle staproetes te beplan - NSC Information Technology - Question 4 - 2021 - Paper 1
Question 4
VRAAG 4: PROBLEEMOPLOSSINGSPROGRAMMERING
Stappers gebruik 'n afstandskaart om hulle staproetes te beplan. Kontrolepunte versus rasplike of omgeplakte op 'n staproet... show full transcript
Worked Solution & Example Answer:VRAAG 4: PROBLEEMOPLOSSINGSPROGRAMMERING
Stappers gebruik 'n afstandskaart om hulle staproetes te beplan - NSC Information Technology - Question 4 - 2021 - Paper 1
Step 1
Knoppie [4.1 - Vertoon afstandskaart]
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
To display the distance map:
Initialize an index variable to loop through the arrName array, which contains the control points.
Print the title/header for the distance chart.
Iterate through the arrName array and print each control point name.
For each corresponding distance in the arrAfstande array, iterate through the column indexes; print the distance values with proper formatting.
Ensure the distances are represented in kilometers with two decimal places for clarity.