Question

Question 42 Not yet graded / 6 pts Write an algorithm in presudocode that will perform the following you need to follow the c
0 0
Add a comment Improve this question Transcribed image text
Answer #1

pseudocode:

step1:intilialize array with 4 it can able to store 4 value

step2: read the values from the user and add to array

step 3: then initialize total=0 then add to total finally calculate total/4 then we get avergare

step4:initialize min and max index with zero then compare finally we get min index and max index then print the smallest and largest values

#sample code in python along with output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 datalist=[] for i in range (4): n=int(input(Enter number +str(i+1)+:))

Add a comment
Know the answer?
Add Answer to:
Question 42 Not yet graded / 6 pts Write an algorithm in presudocode that will perform...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT