This computer science problem involves algorithmic thinking and programming concepts. The solution below explains the approach, logic, and implementation step by step.
Define sumDice as a global array.

ScanSolve AI Answer
Here are the procedures for the given programming questions:
a)
Step 1: Define sumDice as a global array.
Step 2: Create a procedure AddThreeDiceOrDIE that takes the number of throws N and the DICEDIAL array as input.
Step 3: Iterate through each throw, calculate the sum of the three dice rolls for that throw, and store it in the sumDice array.
Step 4: Print the contents of the sumDice array.
GLOBAL sumDice : ARRAY OF INTEGER // Declares sumDice as a global array
PROCEDURE AddThreeDiceOrDIE(N : INTEGER, DICEDIAL : ARRAY OF ARRAY OF INTEGER)
// DICEDIAL
Need help with your own homework?
Get instant step-by-step solutions to any question. Free to start.
Ask Your Question
Handwritten Step-by-Step Solution
Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.
Try on WhatsAppMore Computer Science Questions
Still have questions?
a) Step 1: Define sumDice as a global array. Step 2: Create a procedure AddThreeDiceOrDIE that takes the number of throws N and the DICEDIAL array as input.