subject

In ASSEMBLY LANGUAGE using the irvine32 library only please help! In this assignment you are to ask the user to input the size of a list
of integers followed by the list itself.
// Declare a dynamic array of integers and allocate the necessary memory
Once the input is read, you need to call a function that you are to implement
to determine the minimum and the maximum numbers in this list of integers.
One function should pass back both values to the program
Assume the array is called nums, and it's n integers long, you need to
call the following function:
find_min_max(nums, n, &min, &max);
Once you find the min and the max, you need to call a function that will
assume that the integers that you inputted are ascii values for a string,
except they are encrypted by adding 1 to each number. This function should
return back a string representing the encrypted numbers.
Example
So, if the array is 66 67 70 these will be the ascii values for BCF, but
since these numbers all have a 1 added to them, then they represent ABE.
This is exactly how you call the function:
find_string(nums, n, str);
Once you call both functions and before that, you implement them, you will then
Print the values min, max, and the string
Skeleton Program to further explain it:
main()
{
int nums[];
int n, min, max, i;
char s[100];
// read the size of the array, then the array, and allocate memory.
...
find_min_max(nums, n, &min, &max);
find_string(nums, n, s);
// print the values.
}
// Function implementation should go here and the prototypes above main.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
The most common battery cable terminal is a that provides a large surface contact area with the ability to tighten the terminal onto the battery post using a nut and bolt.
Answers: 2
question
Computers and Technology, 23.06.2019 10:30
How would you categorize the software that runs on mobile devices? break down these apps into at least three basic categories and give an example of each.
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Me ! evelyn is a manager in a retail unit. she wants to prepare a report on the projected profit for the next year. which function can she use? a. pmt b. round c. division d. what-if analysis
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of β€œtag” to remember the meaning of contagious
Answers: 3
You know the right answer?
In ASSEMBLY LANGUAGE using the irvine32 library only please help! In this assignment you are to as...
Questions
question
Mathematics, 25.09.2019 15:50
question
Social Studies, 25.09.2019 15:50
question
English, 25.09.2019 15:50
Questions on the website: 13722360