Write Pep 9 Assembly Code Computes Stores Outputs Truncated Averages Paid Even Numbered Od Q37024228

A, write Pep/9 assembly code that computes, stores and outputsthe (truncated) averages paid by the even-numbered and odd-numberedhouses. (15 points)

(b) write additional Pep/9 assembly code that determines whetherthe higher average is 50% or more higher than the lower average.Your code should output an appropriate message. (10 points)

The property taxes of a street of 64 houses (numbered 0 through63) are stored in array TAXES. TAXES[i] contains the amount oftaxes paid by house i.

The residents of the even-numbered houses complain that they paymore, on average, than the residents of the odd-numberedhouses.


Solution


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.