Write the pseudocode to define a six element array called "scores," and then allow a user to enter 6 scores and store them in the array using a for loop.
What will be an ideal response?
start
Declarations
num count = 0
num scores[6] = 0,0,0,0,0,0
num SIZE = 6
for count 0 to SIZE - 1 step 1
input entry
scores[count] = entry
endfor
stop
You might also like to view...
Should members data be initialized in an initializer list? If not always, when should an exception be made?
What will be an ideal response?
The idea of having a many-to-many relationship between threads and processes has been explored in the experimental operating system _________ .
A) ?VISTA ? B) ?TRIX ? C) ?SOLARIS ? D) ?LEOPARD
Compute the average of the following list of numbers: 3, —2, 4, —3, 5, — 4.
What will be an ideal response?
Text that flows from left to right in columns has been formatted as ____________________ columns.
Fill in the blank(s) with the appropriate word(s).