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
PLEASE HELP! Please dont answer if your going to guess
meriva

Answer:

r

Explanation:

I literally learned this today when trying to make a python server with an html file:)

6 0
3 years ago
Read 2 more answers
Discuss, in brief thedifferent variations of BLAST. (Maximum 5 innumber)
schepotkina [342]

Answer:

Five variations od BLAST are as following:-

  1. BLASTP
  2. BLASTX
  3. TBLASTX
  4. BLASTN
  5. TBLASTN

Explanation:

BLASTP - Searches a protein database with a protein sequence.

BLASTX - This program searches protein database using a translated nucleotide sequence.

TBLASTX - Searches DNA databases using a protein query.

BLASTN -Searches a nucleotide sequence against DNA database.

TBLASTN - Searches nucleotide sequence to a DNA database.

5 0
4 years ago
In ANSI standard C(1989) code - this is what we are teaching- declarations can occur in a for statementas in
tatiyna

Answer:

true is the answer to this

8 0
3 years ago
According to Google data, among consumers who conduct a local search on their smartphone, how many then visit a store within a d
sertanlavr [38]

Answer:

According to the google data, 50% consumers visited a store when they conduct a local search on their smartphones within a day.

And consumers more than 60% range uses location data in the advertisements. They uses store location and phone number through the advisement on smartphones and laptop.  

More than 34% of consumers search on the laptops and computer are visited to a store within a day.

8 0
3 years ago
You arrive at school on Friday for a field trip ! What a lucky day!You need to figure out what room you are in before leaving. Y
lisov135 [29]

Answer:

check the roster for which room u need to be in

8 0
3 years ago
Other questions:
  • Which type of media would be best for showing global trade routes?
    7·2 answers
  • An independent frame that holds a program, document, or folder contents in windows 7 is called a ____.
    11·1 answer
  • Ben works at a top accounting firm in Salt Lake City and his responsibilities include developing individual and departmental goa
    9·1 answer
  • Plz answer me will mark as brainliest ​
    7·2 answers
  • Write an expression whose value is the arithmetic sum of the int associated with x, and the all-digit str associated with s. (hi
    9·1 answer
  • Lynn runs the locate command and the results include many files from a directory that she doesn't want to include in her search.
    9·1 answer
  • Please help ASAP, will mark brainliest!
    10·1 answer
  • Which principle suggests that specific single responsibility interfaces are better than one general purpose interface?
    13·1 answer
  • What do the Brainly points do? sorry im new here and i dont know how to internet rn .-.
    7·2 answers
  • Education leads to higher wages lower unemployment.* True or false
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!