Question: Q 2 . [ 1 2 ] Write a program that subtracts 1 0 from each of 4 values stored in memory ( an array

Q2.[12] Write a program that subtracts 10 from each of 4 values stored in memory (an array called A) and puts the
answer in another array (an array called B).
Therefore, assume A[0] to A[3] contains values. Then B[0]=A[0]-10,B[1]=A[1]-10, etc. Note: we
have not done loops yet, therefore, you will need to load, calculate, and store for each of the elements separately.
Q 2 . [ 1 2 ] Write a program that subtracts 1 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!