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 12:00
Which of the following “invisible” marks represents an inserted tab?
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
What percentage of companies is projected to use social media to locate new employees in 2012
Answers: 2
question
Computers and Technology, 23.06.2019 10:00
Whats three fourths of 15(this is supposed to be in math but i clicked too fast)
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
What is the most important for you to choose before you build a network?
Answers: 1
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, 17.03.2021 23:50
question
Biology, 17.03.2021 23:50
question
Chemistry, 17.03.2021 23:50