psudocode

label Programming
account_circle Unassigned
schedule 1 Hour
account_balance_wallet $5

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

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Nov 15th, 2013
...
Nov 15th, 2013
Jun 25th, 2017
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