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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 18:00, ladyree8721
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
image
Computers and Technology, 22.06.2019 21:00, raquelle66
So im doing this school challenge and the teachers said whats the average text a student gets a day so i need to get about 20 in a day but dont know how can you guys 2163371293
Answers: 2
image
Computers and Technology, 23.06.2019 01:10, brooklynneramos9956
Problem 1 - hashing we would like to use initials to locate an individual. for instance, mel should locate the person mark e. lehr. note: this is all upper case. generate a hash function for the above using the numbers on your telephone. you know, each letter has a number associated with it, so examine your telephone keypad. generate 512 random 3 letter initials and take statistics on a linked list array size 512 to hold this information report how many have no elements, 1 element, 2 elements, does this agree with the hashing statistics distribution?
Answers: 1
image
Computers and Technology, 23.06.2019 02:50, bfell92
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
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 in other subjects:

Konu
Physics, 11.03.2021 20:30
Konu
Mathematics, 11.03.2021 20:30
Konu
Mathematics, 11.03.2021 20:30
Konu
Mathematics, 11.03.2021 20:30