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
Bezzdna [24]
3 years ago
13

Write an assembly program that will prompt the user for 3 inputs (let’s abstractly call them a, b, and c) without a leading stri

ng. It will then calculate the value of: 4*(a + b) - 5*c. You can ONLY use the mult instruction ONCE!
Computers and Technology
1 answer:
ANTONII [103]3 years ago
5 0

Explanation:

Write an assembly program that will prompt the user for 3 inputs (let’s abstractly call them a, b, and c) without a leading string. It will then calculate the value of: 4*(a + b) - 5*c. You can ONLY use the mult instruction ONCE!

You might be interested in
Which of the following functions sends the the GPA entered by the user to the calling function? A. def get_gpa(): gpa = float(in
anzhelika [568]

Answer:

option c is the correct answer for the above question.

Explanation:

  • The above function code which is written in the option is written in the python language. So when a user wants an entered gpa value returned by the function then there is a code of return statement which returned the input value.
  • Option c states a function which first takes the value from the user and stores it into a gpa variable, then it returns the value of that variable by a return function.
  • This option is able to return the user input value to the calling statement while the other option is not able to because there is no return statement in other options.
  • Hence option c is the correct answer.
8 0
3 years ago
Marissa is designing a web page that features lessons on how to build cabinets. how can she make the page most engaging for the
aleksklad [387]
I am pretty sure it’s B because that’s the only answer that really correlates to teaching people how to build cabinets
3 0
3 years ago
Convert 1/32 GB into MB​
kiruha [24]

Answer:

31.25 megabytes.

31.25 megabytes

7 0
3 years ago
Ok for whoever answers this, Ill wager 20 points...
Novosadov [1.4K]

Answer:

The display will be 17.

Explanation:

Tracing through the program:

At first, math is called and sent 1 and 2 - so 1 is stored to ans1 and 2 is stored to ans2.

If the user inputs 3 for a and 4 for b, the program then calls function math2 and passed values of 3 and 4.

So now inside of math2, 3 is stored to res1 and 4 is stored to res3. Inside of this function, res1 and res2 are added together - so then 7 is stored to d and then returned back to the original function.

So now 7 was stored back to the variable c. Then a and ans1 are added together (3 + 1 = 4) and b and ans2 are added together (4 + 2 = 6). Each of these values are stored back to e and f.

Then those values, e and f (4 and 6) are again sent to math2, which simply adds the values together and returns it back to the function. So 10 is sent back to math and stored to the value of g.

Then c (7) and g (10) are added together and displayed.

8 0
3 years ago
Read 2 more answers
You are a member of the Administrators group on all company computers. You are having difficulty changing permissions for a fold
Delvig [45]

Answer:

Take ownership of the folder and then change permissions.

Explanation:

The best way to solve this issue without losing data in the folder is by taking ownership of the folder and then change permissions.

7 0
3 years ago
Other questions:
  • What type of engine is common on boats designed for shallow water?
    13·1 answer
  • What advantages do fiber optic cables offer over twisted pair or other media choices?
    8·1 answer
  • A technician is troubleshooting an employee laptop that has a wired network connectivity issue. The laptop can connect to the in
    9·2 answers
  • Which function is going to find the lowest value in a range of numbers? MIN MAXAVERAGE COUNT
    5·1 answer
  • What is an entity? An attribute?
    13·1 answer
  • A _____ is made up of rows and columns and is used to organize information.
    12·2 answers
  • What tasks should a laptop accomplish?
    15·1 answer
  • How can blockchain be used to support sustainable business practices?
    8·1 answer
  • Which of the following would be the most appropriate way to define a method that calculates and returns the final price, after t
    13·1 answer
  • How to be gud at Friday night funk
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!