Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

n this assignment we will get some experience working with an integer array. Please carry out the following steps: Make a copy of the CS238/ha startup folder that was given to you earlier, and give...

1 answer below »

n this assignment we will get some experience working with an integer array. Please carry out the following steps:

  1. Make a copy of theCS238/hastartup folder that was given to you earlier, and giveha5as the name of this new copy.
  2. Start VS-2019, and open the project fileCS238/ha5/windows32.sln.
  3. In the Solutions Explorer window on the right, choose the filewindows32/Source Files/ha.asmand look at its text in the left window.
  4. Change this program completely into one that implements the following pseudo-code:
Declare a 32-bit integer array A[10] in memory  repeat     Prompt for and input user's array length L until 0 for i := 0 to (L XXXXXXXXXXPrompt for and input A[i] end for  while (First character of prompted input string for searching = 'Y' or 'y')     Prompt for and input value V to be searched     found := FALSE     for i := 0 to (L-1)         if V = A[i] then XXXXXXXXXXfound := TRUE XXXXXXXXXXbreak         end if     end for          if (found) then XXXXXXXXXXDisplay message that value was found at position i     else XXXXXXXXXXDisplay message that value was not found     end if end while  

(Note: To read a Y or N character from the keyboard, use the same input macro to read a string of one character (followed by the null byte), and look at the first byte of the string read.)

please watch the lucter to follow his steps:

https://www.youtube.com/watch?v=uvUmmdaLCS4&feature=youtu.be

https://www.youtube.com/watch?v=YQTssmB8hWc&feature=youtu.be

Answered Same Day Oct 29, 2021

Solution

Gaurav answered on Nov 02 2021
141 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here