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 23:30
Which of the following is not a symptom of chronic fatigue syndrome
Answers: 2
question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
Me dangers of social media and the internetexplain what each means: 1) social media and phones have become an addiction.2) outside people have access to you all the time.3) cyberstalking4) cyberbullying5) catphishing6) viruses7) identity theft8) credit card fraud9) hacking10) money schemes
Answers: 1
question
Computers and Technology, 24.06.2019 02:00
What is a loop? a. a collection of function definitions at the top of a program b. a line of code that defines a variable and assigns it a value c. a program that opens the turtle graphics window d. a block of code that repeats a specific number of times
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, 16.04.2021 05:10
Questions on the website: 13722363