Question: In this program data comes in pairs, say height and weight: .data pairs: .word 5 .word 60, 90 .word 65, 105 .word 72, 256
In this program data comes in pairs, say height and weight: .data pairs: .word 5 .word 60, 90 .word 65, 105 .word 72, 256 # number of pairs #first pair: height, weight .word 68, 270 .word 62, 115 Write a program that computes the average height and average weight. Leave the results in two registers.
Step by Step Solution
There are 3 Steps involved in it
data pairs word 5 pair1 word 60 90 pair2 word 65 105 pair3 word 72 256 pair4 word 68 270 pair5 word ... View full answer
Get step-by-step solutions from verified subject matter experts
