Question: I have solved a problem using pseudocode. I have added 3 logic errors to the pseudocode. Find and post about one of the logic errors.
I have solved a problem using pseudocode. I have added logic errors to the pseudocode. Find and post about one of the logic errors. Do not post about more than error!
Problem: Fill an array with random numbers. Output each number. Out the average of all the numbers.
Pseudocode:
int numbers
num total
forx ; x numbers.length; x
numbersx random
total total numbersx
output numbersx
endfor
total total numbers.length
output total is the average of the numbers"
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
