1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Volgvan
2 years ago
8

Write an assembly program to find the largest item in an array and store it in a variable named MAXIMUM. Hint: Use both Jump and

loop instructions to write the program. Logic: Assume that the first item of the array is the minimum and store it in variable MAXIMUM Write a loop. Inside the loop, compare the each array item with the minimum If the array item is less than the MAXIMUM, update MAXIMUM with that array item. . Data Array WORD 10, 2, 23, 45, 21, 11 MAXIMUM WORD
Computers and Technology
1 answer:
Gekata [30.6K]2 years ago
7 0

Use the knowledge of computational language in C++ to write the a code assembly program to find the largest item.

<h3>How to write a maximum function in C++?</h3>

To make it simpler the code is described as:

<em>#include<bitd/stdc++.h></em>

<em>Using namespace std;</em>

<em>Int main(){</em>

<em>Int arr[10]={10, 2, 23, 45, 21, 11};</em>

<em>Int min=INT_MAX;</em>

<em>Int max=INT_MIN;</em>

<em>for(int i=0;i<10;i++)</em>

<em>If(min<arr[i])min=arr[i];</em>

<em>for(int j=0;j<10;j++)</em>

<em>if(max>arr[j])max=arr[j];</em>

<em>Cout<<max<<” “<<min<<endl;</em>

<em>return 0;</em>

See more about C++ code at brainly.com/question/19705654

You might be interested in
When you enforce restrictions, what must you do immediately?
sweet [91]
The answer is A create a password
4 0
3 years ago
Read 2 more answers
In the application development area, ____________ often refers to bringing together various sources of data to create a new prod
Vinvika [58]

Answer:

mashup

Explanation:

In the application development area, mashup often refers to bringing together various sources of data to create a new product with unique value.

8 0
2 years ago
Drag the tiles to the correct boxes to complete the pairs.
goldenfox [79]

Answer:

Emphasis pattern movement

3 0
3 years ago
Read 2 more answers
Allows the Content-Aware Move tool to sample the entire document as viewed, rather than only sampling the selected layer.
Shalnov [3]

simply all layers hope i was helpful xD

3 0
3 years ago
What is ‘Black-Box’ testing?
stellarik [79]

Answer:

 Black-box testing is the technique which is basically use to reduce the number of the possible cases of the test and also maintain the test coverage. This type of testing is used in the functional and the non functional requirement of the system.

It is type of testing that majorly focus on the functional requirement. There are many types of black box testing that are:

  • BVA (Boundary value analysis)
  • Error guessing
  • Decision table testing

3 0
3 years ago
Other questions:
  • How does soil lose its value? A.When the top soil is stripped by wind or water B.When the bedrock is damaged by animals C.When w
    15·1 answer
  • Difference between ancient and modern mode of information <br> transmission
    12·1 answer
  • Write a SELECT statement that returns three columns: EmailAddress, OrderID, and the order total for each customer. To do this, y
    14·1 answer
  • Which category does this fall in identity theft​
    6·1 answer
  • You are configuring a firewall to use NAT. In the configuration, you map a private IP address directly to a persistent public IP
    9·1 answer
  • Which of the following is true of functions?
    10·1 answer
  • List and describe each of the activities of technology
    11·1 answer
  • Why would you browse by entering a URL rather than use a link in a Web page
    15·1 answer
  • Differentiate between patent and copyright.
    6·2 answers
  • Can somebody please help me with these few questions?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!