psudocode

Programming
Tutor: None Selected Time limit: 1 Hour

Write a pseudocode to find the average of the elements in the following array: {3,4,5,6,7}
Nov 15th, 2013
declare dataArray[3,4,5,6,7] type double
declare sum type double = 0;
declare average
for i = 3 to 7
print "Please enter data value " i
get dataArray[i]
sum = sum + dataArray[i]
average= sum/5;
display average
end loop

Now I think that you can finish off this program by printing the total.
Nov 15th, 2013

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Nov 15th, 2013
...
Nov 15th, 2013
Dec 9th, 2016
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer